Updating Gulp Sass 4 to Gulp Sass 5
●
Permalink
●
suggest edit
On the heels of my pipeline issue I mentioned earlier this week, I also had an issue with SASS compilation. I currently use Gulp in this project for compiling SASS.
My project was still configured to use the gulp.sass
package version 4 instead of version 5. When upgrading to version 5, I discovered that I needed to include a SASS compiler such as the sass
or node-sass
package, although node-sass
has been deprecated.
Here is what my gulp require statement looks like:
1
sass = require('gulp-sass')(require('sass'))