v3.6.0+ is causing mini-css-extract-plugin not to output css file
See original GitHub issueHey there,
I’ve had an issue with the upgrade to anything from 3.6.0 and above where my CSS files are no longer being created.
I’ve setup a lightweight example here https://github.com/pjho/svg-spritemap-webpack-plugin-example.
npm install svg-spritemap-webpack-plugin@3.5.10 && npm run build
everything works as expected.
npm install svg-spritemap-webpack-plugin@3.6.0 && npm run build
css is not emmitted properly.
Screenshot with 3.5.10
Screenshot with 3.6.0
My SvgSpriteMapPlugin config is here https://github.com/pjho/svg-spritemap-webpack-plugin-example/blob/master/webpack.config.js#L34.
Cheers.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:7 (4 by maintainers)
Top Results From Across the Web
mini-css-extract-plugin with sass-loader doesn't output a CSS ...
The problem is you missed to include your main css file into your webpack entry point so no css files found. As long...
Read more >MiniCssExtractPlugin - webpack
This plugin extracts CSS into separate files. It creates a CSS file per JS file which contains CSS. It supports On-Demand-Loading of CSS...
Read more >mini-css-extract-plugin | The AI Search Engine You Control
Q: What is the cause? A: The plugin (mini-css-extract-plugin) tries to generate a CSS file but your codebase has multiple possible orderings for...
Read more >Webpack issue loading CSS - Material Design for Bootstrap
What could be causing the error? Is there anything else I'm missing? Here's part of my webpack.config.js: module.exports ...
Read more >mini-css-extract-plugin - npm
extracts CSS into separate files. Latest version: 2.7.2, last published: a month ago. Start using mini-css-extract-plugin in your project by ...
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 FreeTop 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
Top GitHub Comments
No problem at all, thanks for reporting the issue. The fix was released with version
3.7.1
which I have just published on NPM 🚀Let’s hope there’s not another issue reported here later this week that would be caused by this 🤞🏼
Cool just tested
cascornelissen/svg-spritemap-webpack-plugin#master
in both sample repo and my full repo with webpcak 4 and all is building fine 🎉Thanks for looking into it so quickly and for maintaining this plugin 👍