Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

v3.6.0+ is causing mini-css-extract-plugin not to output css file

See original GitHub issue

Hey 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

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

Screen Shot 2020-11-04 at 1 05 08 PM

Screenshot with 3.6.0

Screen Shot 2020-11-04 at 1 05 29 PM

My SvgSpriteMapPlugin config is here


Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

cascornelissencommented, Nov 4, 2020

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 🤞🏼

pjhocommented, Nov 4, 2020

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 👍

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found