We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I found out that it is possible to add warnings with warn() method in the result class. Seems to me, some plugins use it to throw an error.
warn()
What you think about adding some functionality to handle those warnings and treat them as simple errors? I think we can simply throw an error somewhere here: https://github.com/css-modules/css-modules-loader-core/blob/master/src/index.js#L19
Currently, you don't see any if they occur.
The text was updated successfully, but these errors were encountered:
As a possible solution, we can add a debug mode, so it will be possible to output those warnings. https://github.com/postcss/postcss/blob/master/docs/api.md#lazywarnings
Any thoughts?
Sorry, something went wrong.
There is also a quick solution as another postcss plugin: https://github.com/postcss/postcss-reporter
No branches or pull requests
I found out that it is possible to add warnings with
warn()
method in the result class. Seems to me, some plugins use it to throw an error.What you think about adding some functionality to handle those warnings and treat them as simple errors? I think we can simply throw an error somewhere here: https://github.com/css-modules/css-modules-loader-core/blob/master/src/index.js#L19
Currently, you don't see any if they occur.
The text was updated successfully, but these errors were encountered: