You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+15-11Lines changed: 15 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ var gulp = require('gulp');
21
21
var sass =require('gulp-sass');
22
22
23
23
gulp.task('sass', function () {
24
-
gulp.src('./sass/**/*.scss')
24
+
returngulp.src('./sass/**/*.scss')
25
25
.pipe(sass().on('error', sass.logError))
26
26
.pipe(gulp.dest('./css'));
27
27
});
@@ -40,7 +40,7 @@ var gulp = require('gulp');
40
40
var sass =require('gulp-sass');
41
41
42
42
gulp.task('sass', function () {
43
-
gulp.src('./sass/**/*.scss')
43
+
returngulp.src('./sass/**/*.scss')
44
44
.pipe(sass.sync().on('error', sass.logError))
45
45
.pipe(gulp.dest('./css'));
46
46
});
@@ -55,10 +55,11 @@ gulp.task('sass:watch', function () {
55
55
Pass in options just like you would for [`node-sass`](https://github.com/sass/node-sass#options); they will be passed along just as if you were using `node-sass`.
By default, [gulp-sourcemaps](https://github.com/floridoo/gulp-sourcemaps) writes the source maps inline in the compiled CSS files. To write them to a separate file, specify a path relative to the `gulp.dest()` destination in the `sourcemaps.write()` function.
0 commit comments