Skip to content

Commit

Permalink
Use sync rendering of Sass
Browse files Browse the repository at this point in the history
  • Loading branch information
devversion committed Jul 25, 2018
1 parent 005ee98 commit c2f19df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/package-tools/gulp/build-scss-task.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const gulpCleanCss = require('gulp-clean-css');
export function buildScssTask(outputDir: string, sourceDir: string, minifyOutput = false) {
return () => {
return src(join(sourceDir, '**/*.scss'))
.pipe(gulpDartSass().on('error', gulpDartSass.logError))
.pipe(gulpDartSass.sync().on('error', gulpDartSass.logError))
.pipe(gulpIf(minifyOutput, gulpCleanCss()))
.pipe(dest(outputDir));
};
Expand Down

0 comments on commit c2f19df

Please sign in to comment.