diff --git a/gulpfile.js b/gulpfile.js index f069552..5f32bff 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -14,7 +14,7 @@ function html() { function css() { return gulp.src('./src/style/*.scss') - .pipe(sass().on('error', sass.logError)) + .pipe(sass.sync().on('error', sass.logError)) .pipe(postcss([require('autoprefixer'), require('cssnano')])) .pipe(gulp.dest('./dist/')); }