We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey hey,
I'm running with the following grunt configuration:
svgsprite : { ingredients : { src : [ '<%= pkg.assets.src %>/svg/ingredients' ], dest : 'path/to/css/dir', options : { cleanwith : 'svgo', css : false, sass : '_sprite', sassout : '<%= pkg.assets.src %>/styles/sprites', maxwidth : 50, maxheight : 50, padding : 10, keep : true, dims : true } } },
And unfortunately I'm getting the following error.
Running "svgsprite:ingredients" (svgsprite) task Verifying property svgsprite.ingredients exists in config...OK Files: ./project/Yves/assets/svg/ingredients -> path/to/css/dir Options: cleanwith="svgo", css=false, sass="_sprite", sassout="./project/Yves/assets/styles/sprites", maxwidth=50, maxheight=50, padding=10, keep, dims Building SVG sprite from directory "./project/Yves/assets/svg/ingredients" ... Options: cleanwith="svgo", css=false, sass="_sprite", sassout="./project/Yves/assets/styles/sprites", maxwidth=50, maxheight=50, padding=10, keep, dims [TypeError: Object #<Object> has no method 'prepareDimensions'] An uncaughtException was found, svg-sprite will end. FAIL: 1
Debugged already a bit and the problem is based in svg-sprite itself.
Thanks a lot. :)
The text was updated successfully, but these errors were encountered:
Should be fixed with svg-sprite commit 4c75621.
Sorry, something went wrong.
Running "svgsprite:ingredients" (svgsprite) task Building SVG sprite from directory "./project/Yves/assets/svg/ingredients" ... ✔ /Users/stefanjudis/Sites/natue-shop/path/to/css/dir/svg/sprite.svg (27422 bytes) ✔ /Users/stefanjudis/Sites/natue-shop/project/Yves/assets/styles/sprites/_sprite.scss (1363 bytes) Done, without errors.
Really really thanks... Let's put it in our production pipeline! 👍
jkphl
No branches or pull requests
Hey hey,
I'm running with the following grunt configuration:
And unfortunately I'm getting the following error.
Debugged already a bit and the problem is based in svg-sprite itself.
Thanks a lot.
:)
The text was updated successfully, but these errors were encountered: