mrsum / webpack-svgstore-plugin

Simple svg-sprite creating with webpack
https://www.npmjs.com/package/webpack-svgstore-plugin
200 stars 92 forks source link

Output SVG sprite to file system when using webpack-dev-server #90

Closed shaunwest closed 8 years ago

shaunwest commented 8 years ago

I'm using webpack dev server for JS and CSS, but I'd like to output the SVG sprite generated by SvgStore to the file system. It works fine with normal webpack, but with the dev server I'm unable to find a way to do it. Is this even possible? Or does SvgStore only do in-memory output with the dev server?

lgordey commented 8 years ago

Yes, in webpack-dev-server mode all files are ran from memory and not copied anywhere

shaunwest commented 8 years ago

Would it make sense to add an option that forces SvgStore to copy files even when using the dev server? I could look into adding it myself.

mrsum commented 8 years ago

fixed 3.0.0-beta