-
-
Notifications
You must be signed in to change notification settings - Fork 7.2k
Closed
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancement: pending triagefeat: csshas workaround
Description
Description
I want to disable unnecessary postcss warning in the console, like this:
[vite:css] C:\projects\my-site\src\styles\mixins.pcss is empty
Suggested solution
I propose to add a new option similar to onwarn
in rollup, in which it will be possible to filter postcss warnings. I think the warnings filter should be used here
Alternative
Put this comment into mixins.pcss
file: /* The file is empty now */
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentationenhancement: pending triagefeat: csshas workaround