Migrate compiler to use Dart Sass #32
Labels
dependencies
Issues or pull requests that update a dependency file
pending release
Enhancement/bug has been finished, awaiting next release
Since 2020-10-26,
node-sass
has been deprecated: https://sass-lang.com/blog/libsass-is-deprecatedCurrently this project is using
gulp-sass
for it's compiling which usesnode-sass
. Whilegulp-sass
DOES allow you to pick a compiler to use, it still includesnode-sass
as a dependency which is unnecessary.gulp-dart-sass
is a fork ofgulp-sass
which already uses Dart Sass (as it's name suggests). However, due to the way Yarn works, we can only work with the version of Dart Sass it supplies. While this is currently the latest version, including any the Bootstrap variables file (required for our variables) results in deprecation warnings for division operators: twbs/bootstrap#34051So, this will have to be done in steps in order to ensure compatibility remains without warning messages;
gulp-sass
withgulp-dart-sass
sass@1.32.13
to prevent deprecation messagessass
to latest once Bootstrap updates with deprecation fixesThe first 3 parts should be fine to do straight away, however the final part will require waiting until the fixes are in place on Bootstraps end. Once they are, if any issues crop up from this project, we can take care of them as necessary
The text was updated successfully, but these errors were encountered: