Skip to content

Commit c2f19df

Browse files
committed
Use sync rendering of Sass
1 parent 005ee98 commit c2f19df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/package-tools/gulp/build-scss-task.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const gulpCleanCss = require('gulp-clean-css');
1010
export function buildScssTask(outputDir: string, sourceDir: string, minifyOutput = false) {
1111
return () => {
1212
return src(join(sourceDir, '**/*.scss'))
13-
.pipe(gulpDartSass().on('error', gulpDartSass.logError))
13+
.pipe(gulpDartSass.sync().on('error', gulpDartSass.logError))
1414
.pipe(gulpIf(minifyOutput, gulpCleanCss()))
1515
.pipe(dest(outputDir));
1616
};

0 commit comments

Comments
 (0)