dlmanning / gulp-sass

SASS plugin for gulp
MIT License
1.56k stars 381 forks source link

Will gulp-sass be replacing deprecated node-sass with its replacement, dart sass? #779

Closed ajssd closed 3 years ago

ajssd commented 3 years ago

See https://sass-lang.com/blog/libsass-is-deprecated

Just wondering what the future is for gulp-sass given the security issues with node-sass, and now the fact that it is deprecated?

shlomiassaf commented 3 years ago

I can only assume that replacement is an issue, due to backward compatibility of this package.

Of course, a new major version can issue a breaking change...

I think, as a first step, that hard require for node-sass but be remove as well as the direct dependency. In angular, this is an issue...

Maybe just check for existence of node-sass and only then if exists, load it.

vincentwinkel commented 3 years ago

I face the same issue. I cannot find an alternative.

NickSharf commented 3 years ago

There is a package based on this project with dart-sass replacement https://www.npmjs.com/package/gulp-dart-sass. Try to use it instead of gulp-sass.

xzyfer commented 3 years ago

Fixed in v5.0.0