JetBrains / svg-sprite-loader

Webpack loader for creating SVG sprites.
MIT License
2.01k stars 272 forks source link

[Question] Generate multiple sprites without different loader rules #474

Open diniscorreia opened 2 years ago

diniscorreia commented 2 years ago

I'm trying to generate multiple sprites, without having to write different loader rules: for our project we want to have a directory with individual SVG icons — but that might also contain an unknown number of sub-directories, each with it's own individual icons.

When outputting, we wanted it to get the same directory structure, with each sprite in the same location as the original icons.

Would this be possible?

firestar300 commented 1 year ago

Same problem, did you find a solution @diniscorreia?