Commit b2a1d480 authored by Guy Tepper's avatar Guy Tepper

[BUGFIX] fixed readme example

parent 5b4f0fa1
......@@ -23,10 +23,12 @@ Then, add it to your `gulpfile.js`. I'd recommend to use it in conjunction with
var inlineSvg = require("gulp-inline-svg"),
svgMin = require('gulp-svgmin');
gulp.src("images/svgs/**/*.svg")
.pipe(svgMin())
.pipe(inlineSvg())
.pipe(gulp.dest("sass"));
gulp.task('inline-svg', function() {
return gulp.src("images/svgs/**/*.svg")
.pipe(svgMin())
.pipe(inlineSvg())
.pipe(gulp.dest("sass"));
})
```
This will create a _svg.scss file inside your 'sass' folder.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment