Issue Task Closed

#97538Switch to dart-sass

Josef Glatz 05/03/22, 06:29 updated 10/04/22, 14:03

Description

Requirements

  • node-sass respectively LibSass is deprecated as stated in https://www.npmjs.com/package/node-sass
  • Bootstrap 5.x supports/uses dart-sass with the npm package “sass” which distributes dart-sass, the native javascript based sass solution

ToDo

  1. Remove node-sass
  2. Add dart-sass
  3. Fix errors in actual implementation (where node-sass was not so strict)
  4. Fix divisions with sass-migrator
  5. Fix/Update existing 3rd party packages if they don’t support dart-sass
    • font-awesome
      • Version Update which supports dart-sass
      • Proper upgrade or patch as the migration from v4 to v6 is not that easy as it also has some breaking changes in the available icons

How to test

  • Build scripts must not use node-sass anymore.
  • npm package “sass” must not required anymore by the TYPO3 core

Reviews 1