You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having a lot of trouble with the config object that is passed to gulp-svg-sprite to determine the destination of the file created. I have read the doc section on output destination and read through this StackOverflow board on the matter.
This is what I'm hoping to get icons/ ---sprite.defs.svg
This is what I get instead icons/ ---defs/ ------svg/ ---------sprite.defs.svg
I've tried changing the value of mode.dest, or adding a dest setting as a sibling to mode but it makes no difference. Basically, no matter what I write, the file is always saved in the same location. I think my setting is just ignored. For instance if I add the option sprite:"mysprite.svg" within the mode settings, the file is still saved as "sprite.defs.svg" in the same location as above.
What am I missing? I bet it's really obvious.
The text was updated successfully, but these errors were encountered:
gul-svg-sprite 1.2.19
I'm having a lot of trouble with the config object that is passed to gulp-svg-sprite to determine the destination of the file created. I have read the doc section on output destination and read through this StackOverflow board on the matter.
Here is the gulp task
This is what I'm hoping to get
icons/
---sprite.defs.svg
This is what I get instead
icons/
---defs/
------svg/
---------sprite.defs.svg
I've tried changing the value of
mode.dest
, or adding adest
setting as a sibling tomode
but it makes no difference. Basically, no matter what I write, the file is always saved in the same location. I think my setting is just ignored. For instance if I add the optionsprite:"mysprite.svg"
within themode
settings, the file is still saved as "sprite.defs.svg" in the same location as above.What am I missing? I bet it's really obvious.
The text was updated successfully, but these errors were encountered: