Skip to content

Instantly share code, notes, and snippets.

@iamryanyu
Created April 9, 2016 01:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iamryanyu/b809be39a0b5bed372d56d04d733e533 to your computer and use it in GitHub Desktop.
Save iamryanyu/b809be39a0b5bed372d56d04d733e533 to your computer and use it in GitHub Desktop.
var svgConfig = {
svg: {
namespaceClassnames: false
},
mode: {
symbol: {
dest: '.',
sprite: 'sprite.svg'
}
}
};
gulp.src('**/*.svg', {cwd: config.source + '/svg-sprite'})
.pipe(svgSprite(svgConfig))
.pipe(gulp.dest(config.dest + '/styles/mysource_files'));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment