I'm working on a new project for a customer and I'm using this library to create a defs spritemap. The svg icons are to be used at various locations and in different sizes but I'm having a lot of issues with scaling them correctly.
All of my SVG-files only have a viewBox and no fixed width and height, yet somehow every time a spritemap is created this library seems to append a fixed height and width for them even though I do not want this. This is preventing me from using the sprites correctly.
How do I go about disabling this behaviour?
Also, how can I select which folder the spritemap gets placed it, I don't want it to create the "svg" folder and name the file "defs.svg".
Hello,
I'm working on a new project for a customer and I'm using this library to create a defs spritemap. The svg icons are to be used at various locations and in different sizes but I'm having a lot of issues with scaling them correctly.
All of my SVG-files only have a viewBox and no fixed width and height, yet somehow every time a spritemap is created this library seems to append a fixed height and width for them even though I do not want this. This is preventing me from using the sprites correctly.
How do I go about disabling this behaviour?
Also, how can I select which folder the spritemap gets placed it, I don't want it to create the "svg" folder and name the file "defs.svg".
Thanks, Jonathan