mirror of
https://github.com/tobspr-games/shapez.io.git
synced 2025-12-06 10:31:33 -08:00
Replace gulp-sass with gulp-dart-sass (#1036)
This commit is contained in:
parent
9b5811b874
commit
b51c0fdbd4
4 changed files with 77 additions and 211 deletions
|
|
@ -62,7 +62,7 @@ function gulptasksCSS($, gulp, buildFolder, browserSync) {
|
|||
return gulp
|
||||
.src("../src/css/main.scss", { cwd: __dirname })
|
||||
.pipe($.plumber())
|
||||
.pipe($.sass.sync().on("error", $.sass.logError))
|
||||
.pipe($.dartSass.sync().on("error", $.dartSass.logError))
|
||||
.pipe(
|
||||
$.postcss([
|
||||
$.postcssCriticalSplit({
|
||||
|
|
@ -95,7 +95,7 @@ function gulptasksCSS($, gulp, buildFolder, browserSync) {
|
|||
return gulp
|
||||
.src("../src/css/main.scss", { cwd: __dirname })
|
||||
.pipe($.plumber())
|
||||
.pipe($.sass.sync().on("error", $.sass.logError))
|
||||
.pipe($.dartSass.sync().on("error", $.dartSass.logError))
|
||||
.pipe(
|
||||
$.postcss([
|
||||
$.postcssCriticalSplit({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue