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.
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?