Commit 71eef868 authored by Philipp Nowinski's avatar Philipp Nowinski

[BUGFIX] fix source path in readme

parent c1dc87d4
...@@ -23,7 +23,7 @@ Then, add it to your `gulpfile.js`. I'd recommend to use it in conjunction with ...@@ -23,7 +23,7 @@ Then, add it to your `gulpfile.js`. I'd recommend to use it in conjunction with
var inlineSvg = require("gulp-inline-svg"), var inlineSvg = require("gulp-inline-svg"),
svgMin = require('gulp-svgmin'); svgMin = require('gulp-svgmin');
gulp.src("css/**/*.css") gulp.src("images/svgs/**/*.svg")
.pipe(svgMin()) .pipe(svgMin())
.pipe(inlineSvg()) .pipe(inlineSvg())
.pipe(gulp.dest("sass")); .pipe(gulp.dest("sass"));
...@@ -63,7 +63,7 @@ The _svg.scss file will provide you with the following mixins and functions: ...@@ -63,7 +63,7 @@ The _svg.scss file will provide you with the following mixins and functions:
If you want wo customize the default configuration, you can pass an options object to the task function: If you want wo customize the default configuration, you can pass an options object to the task function:
```javascript ```javascript
gulp.src("css/**/*.css") gulp.src("images/svgs/**/*.svg")
.pipe(svgMin()) .pipe(svgMin())
.pipe(inlineSvg({ .pipe(inlineSvg({
filename: '_svg-file.scss', filename: '_svg-file.scss',
......
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