@mediacurrent/gatsby-plugin-silence-css-order-warning
Advanced tools
Weekly downloads
Readme
For some projects, you may be using CSS Modules or another CSS-in-JS library to safely scope CSS between pages and components. The webpack mini-css-extract-plugin
however, still warns that the CSS might be bundled out of order. The warning is:
warn chunk styles [mini-css-extract-plugin] Conflicting order. Following module has been added:
As long as you are properly using your CSS-in-JS library, this warning can be ignored.
npm install @mediacurrent/gatsby-plugin-silence-css-order-warning
Then add the plugin to your gatsby-config.js
file.
module.exports = {
plugins: [
'@mediacurrent/gatsby-plugin-silence-css-order-warning'
]
}
Because this plugin silences the warning completely, it may swallow a valid warning of CSS order bundling that you may have in your project.
FAQs
Gatsby plugin to silence CSS order warning when using CSS modules or other CSS in JS.
The npm package @mediacurrent/gatsby-plugin-silence-css-order-warning receives a total of 176 weekly downloads. As such, @mediacurrent/gatsby-plugin-silence-css-order-warning popularity was classified as not popular.
We found that @mediacurrent/gatsby-plugin-silence-css-order-warning demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 7 open source maintainers collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.