Problem/Motivation

Warning: LibSass and Node Sass are deprecated. While they will continue to receive maintenance releases indefinitely, there are no plans to add additional features or compatibility with any new CSS or Sass features. Projects that still use it should move onto Dart Sass.

https://www.npmjs.com/package/node-sass

  • The maintainers no longer recommend LibSass for new Sass projects. Use Dart Sass instead.
  • The maintainers recommend all existing LibSass users make plans to eventually move onto Dart Sass, and that all Sass libraries make plans to eventually drop support for LibSass.
  • The maintainers are no longer planning to add any new features to LibSass, including compatibility with new CSS features.
  • LibSass and Node Sass will continue to be maintained indefinitely on a best-effort basis, including fixing major bugs and security issues and maintaining compatibility with the latest Node versions.

Proposed resolution

Change from sass = require("gulp-sass"), to sass = require("gulp-sass")(require('sass')), in the gulpfile.js file
Have the following changes in the package.json file and update the yarn.lock file

    ...
    ...
    "sass": "~1",
    "gulp": "~4",
    "gulp-autoprefixer": "~8",
    "gulp-clean-css": "~4",
    "gulp-concat": "~2",
    "gulp-csscomb": "~3",
    "gulp-filter": "~7",
    "gulp-html-replace": "~1",
    "gulp-postcss": "~8",
    "gulp-rename": "~2",
    "gulp-sass": "~5",
    "gulp-scss-lint": "~1",
    "gulp-sourcemaps": "~3",
    "gulp-uglify": "~3",
    ...
    ...

Remaining tasks

Varbase update type

  • ✅ No Update
  • ➖ Optional Update
  • ➖ Forced Update
  • ➖ Forced Update if Unchanged

User interface changes

  • N/A

API changes

  • N/A

Data model changes

  • N/A

Release notes snippet

Comments

tresero created an issue. See original summary.

rajab natshah’s picture

Project: Varbase Core » Varbase Theme - Bootstrap 4
Version: 9.0.18 » 9.0.x-dev
Issue summary: View changes
rajab natshah’s picture

Title: Node Sass deprecated » Switch to Dart Sass. as Node Sass was deprecated
Issue summary: View changes
rajab natshah’s picture

Title: Switch to Dart Sass. as Node Sass was deprecated » Switch from deprecated Node Sass to Dart Sass compiler in the Varbase Theme (Bootstrap 4 - SASS)
Issue summary: View changes
rajab natshah’s picture

Title: Switch from deprecated Node Sass to Dart Sass compiler in the Varbase Theme (Bootstrap 4 - SASS) » Switch from deprecated Node Sass to Dart Sass compiler using Gulp in the Varbase Theme (Bootstrap 4 - SASS)
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes

  • Rajab Natshah committed 1617c51 on 9.0.x
    Issue #3269723: Switch from deprecated Node Sass to Dart Sass compiler...
rajab natshah’s picture

Assigned: Unassigned » mohammed j. razem
Issue summary: View changes
Status: Active » Needs review
Issue tags: +varbase-9.0.6, +vartheme_bs4-9.0.12
rajab natshah’s picture

Assigned: mohammed j. razem » Unassigned
rajab natshah’s picture

Status: Needs review » Fixed
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes

  • Rajab Natshah committed 594c26d on 9.0.x
    Issue #3269723: Switch from deprecated Node Sass to Dart Sass compiler...
rajab natshah’s picture

Issue summary: View changes
Issue tags: +vartheme_bs4-9.0.13

  • Rajab Natshah committed c17b741 on 9.0.x
    Issue #3269723: Change the default Nodejs to 16 LTS in the Bash scripts...
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

Issue summary: View changes
rajab natshah’s picture

✅ Released varbase-9.0.6

rajab natshah’s picture

Issue summary: View changes

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.