Skip to content

Commit c71730f

Browse files
committed
Switch to Dart Sass for contributing site
Dart Sass is the primary implementation of Sass and is distributed as the pure JavaScript `sass` package on npm. This configures gulp-sass to use Dart Sass, instead of Node Sass. https://github.com/dlmanning/gulp-sass#basic-usage
1 parent 0eddbe6 commit c71730f

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

Gulpfile.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ const browserSync = require('browser-sync').create();
33
const gulp = require('gulp');
44
const sass = require('gulp-sass');
55

6+
sass.compiler = require('sass');
7+
68
const paths = {
79
markup: {
810
src: './contrib/**/*.html',

package-lock.json

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"eslint": "5.16.0",
3030
"gulp": "^4.0.2",
3131
"gulp-sass": "^4.0.2",
32+
"sass": "^1.23.0",
3233
"stylelint": "^10.1.0"
3334
},
3435
"scripts": {

0 commit comments

Comments
 (0)