Hi,
I’d like to optimize the download of my resources by reducing the number of SVGs, and a simple solution is to insert multiple SVGs in a single bigger SVG used like a library: I just need monocromatic (sometimes compounded) shapes to use as masks.
Is this possible? If it is we can start talking about extraction, layers, pivots etc.
You can group the content wrapped inside the <svg> tags into individual <g>
elements and ultimately bundle all those groups into a single file.
Afterwards you can use the inLayer parameter of SVG.render() to reference a
specific group.