Allow to disable "You did not set any plugins, parser, or stringifier. Right now, PostCSS does nothing. Pick plugins for your case on https://www.postcss.parts/ and use them in postcss.config.js." warning
See original GitHub issueWill be great to allow disable “You did not set any plugins, parser, or stringifier. Right now, PostCSS does nothing. Pick plugins for your case on https://www.postcss.parts/ and use them in postcss.config.js.” warning message using the option, for example noWarningOnEmptyOptions
(maybe best name).
Why?
We use postcss
in css-loader
as the parser, but here cases when developer can disable all plugins (parsing url()
/@import
/css modules plugins), but css-loader
still has sense because it is compile CSS to JS (or other type). It is rare cases, but they exists.
Issue Analytics
- State:
- Created 3 years ago
- Comments:21 (9 by maintainers)
Top Results From Across the Web
Getting Postcss warning without using it - Stack Overflow
Github Issue - Allow to disable "You did not set any plugins, parser, or stringifier. Right now, PostCSS does nothing. Pick plugins for...
Read more >What is PostCSS? How to Use Plugins to Automate CSS Tasks
PostCSS is a Node.js tool that transforms your styles using JavaScript plugins. It generates more downloads per week on NPM than other CSS ......
Read more >PostCSS - a tool for transforming CSS with JavaScript
Transform CSS with the power of JavaScript. Auto-prefixing, future CSS syntaxes, modules, linting and more are possible with hundreds of PostCSS plugins.
Read more >postcss-loader | webpack - JS.ORG
Allows to set PostCSS options and plugins. All PostCSS options are supported. There is the special config option for config files. How it...
Read more >PostCSS | Hugo
Hugo Pipes can process CSS files with PostCSS. ... be processed using the project's or theme's own postcss.config.js or any file set with...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This warnings are very annoying… I only added
postcss: null
in the build config atnuxt.conf.js
, something like this:It works well for me
PostCSS 8 will have
hideNothingWarning
option