Created
April 9, 2016 01:42
-
-
Save iamryanyu/b809be39a0b5bed372d56d04d733e533 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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