Open raj-pel opened 6 years ago
Could you please create repo with minimal setup to demonstrate a problem (package.json, webpack config, SVG image and piece of your code). If you don't want to create a repository - you can create a gist with multiple files.
@raj-pel ping
In the past I have had issues where .svg
files contain:
<!-- Generator: Adobe Illustrator 22.0.0, SVG Export Plug-In ...
IIRC stripping those lines out of the SVGs has worked in the past so the first line containers <svg ...
.
Still facing this issue
I am facing
issue in my local dev Could you please tell me how to resolve
}, { test: /\.(svg)$/i, exclude: /node_modules/, include: /client\/assets\//, use: [ { loader: 'svg-sprite-loader', options: { extract: true, spriteFilename: 'icons.svg' } }, { loader: 'svgo-loader' }, ] }, // }, {