webpack-svgstore-plugin
webpack-svgstore-plugin copied to clipboard
Treeshaking breaks sprite build
Using rollup-loader
to utilize treeshaking removes all function marks like var __svg__
, var __sprite__
, etc.
Hence no sprites get generated.
I suppose to put this configs inside the webpack config itself, mapped by each entry points name.
Is it [WIP] currently, right?
@mrsum Yeah it is WIP, actuallyI'm not certain if it got abandoned in favour of webpack 2.
Anyway function marks will fail with treeshaking approach.
@AndyOGo Okay, i will fix it ASAP.