Last active
February 9, 2023 15:34
-
-
Save matthew-pm/e594d1390e66348beffce0b2a69d59b6 to your computer and use it in GitHub Desktop.
Update gulp-sass imports for 5.x
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// from | |
const sass = require('gulp-sass'); | |
sass.compiler = require('sass'); | |
// to | |
const sass = require('gulp-sass')(require('sass')); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"gulp-sass": "^5.1.0", | |
"sass": "^1.49.9", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
woooooooooooooooooooooooooooo'