mirror of
https://github.com/NickKaramoff/toot
synced 2025-02-11 17:20:48 +01:00
Increase build speeds for Sass by using sync mode
This commit is contained in:
parent
a95f3ab4d7
commit
6d168384a1
@ -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/'));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user