JetBrains / svg-sprite-loader

Webpack loader for creating SVG sprites.
MIT License
2.02k stars 270 forks source link

how to remove <use id="***" xlink:href="#***" in composite svg file #369

Closed jackiewillen closed 4 years ago

jackiewillen commented 4 years ago

Do you want to request a feature, report a bug or ask a question? a question What is the current behavior? with to many inside the final svg file.

What is the expected behavior? without use tag. The small the better for the final composite svg file

If the current behavior is a bug, please provide the steps to reproduce, at least part of webpack config with loader configuration and piece of your code. The best way is to create repo with minimal setup to demonstrate a problem (package.json, webpack config and your code). It you don't want to create a repository - create a gist with multiple files

If this is a feature request, what is motivation or use case for changing the behavior?

Please tell us about your environment:

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

jackiewillen commented 4 years ago

new SpriteLoaderPlugin({plainSprite: true})