Project

General

Profile

Actions

Task #97538

closed

Switch to dart-sass

Added by Josef Glatz over 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Frontend
Target version:
-
Start date:
2022-05-03
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
12
PHP Version:
Tags:
Complexity:
Sprint Focus:

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
Actions

Also available in: Atom PDF