Closed wakenby closed 3 years ago
That was quite the edge case but I'm pretty sure the fix in b5c1071 solves this really well. Can you try out the changes and report back?
You can install these recent changes directly from GitHub using the following command.
npm install cascornelissen/svg-spritemap-webpack-plugin#master
Let me know if it solves the issue on your side ✌🏼
Works!!!
But if there are no icons, then an empty sprite.svg is still created((
@wakenby, good point, didn't notice that. The changes in c009e6e should fix this. Could you test it out once more by installing it directly from master
?
Perfect work!!!
These changes were included in 3.8.0
, thanks once more for reporting the issue! 🚀
If you run wds with an empty icon folder and then add icons, then the svg-spritemap-webpack-plugin will not work.
But if you run wds with any icon, then adding new svg-spritemap-webpack-plugin will work fine.
config: