svg-spritemap-webpack-plugin: Running this plugin stops all other loaders
I am running “svg-spritemap-webpack-plugin”: “^2.0.0-rc.4” on webpack 4.1.1. My config for this plugin is:
new SVGSpritemapPlugin({
src: 'assets/gfx/*.svg',
filename: 'spritemap.[contenthash].svg',
prefix: 'fablr-',
}),
But when this is active, all other files (JS, CSS, etc) are not emitted anymore. So it’s unusable for me. I’m not able to see what happens, except that everything is back to normal when I comment out SVGSpritemapPlugin. Any pointers?
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 18 (10 by maintainers)
looks fine here as well. other plugins prevent me from migrating to webpack 4 right now, so i cant see if it actually works, but it looks like its fine right now. thanks 😃
I tested the master version and it seems to fix it! Thanks!
@ripperdoc, I did some more testing and I can’t reproduce your issue when applying the change I’ve described earlier. I’ve pushed that change to GitHub, could you try installing the plugin directly from GitHub and report back if that fixes it?
I’ll have to look into this some more then, for now you could use
2.0.0-rc.3
.