svg-sprite / grunt-svg-sprite

SVG sprites & stacks galore — Grunt plugin wrapping around svg-sprite that reads in a bunch of SVG files, optimizes them and creates SVG sprites and CSS resources in various flavours

Home Page:https://github.com/svg-sprite/svg-sprite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

render specified 'folder/', not default 'css/'

opened this issue · comments

How can I avoid the rendering the default 'css/'? instead, I would like to just render the specified 'images/':

svg_sprite  : {
    your_target : {
        cwd     : 'src/',
        src : ['src/*.svg'],
        dest    : 'images/'
    }
}

Please read the documentation about output destinations to understand the different options. Basically you will have to set dest to "images" and mode.<mode>.dest to ".".