Closed hsiangfeng closed 2 years ago
Following gulp-load-plugins documentation on postRequireTransforms, I added the following to get it working so sass can still be called with $.sass()
.
const $ = require('gulp-load-plugins')({
postRequireTransforms: {
sass: function(sass) {
return sass(require('sass'));
}
}
});
@xzyfer this can be closed too.
I initially used
const $ = require('gulp-load-plugins')();
run gulp-sassnow gulp-sass5 is not working.
So can I only use the following methods?
My question is can gulp-load-plugins gulp-sass5.