[TASK] Switch to dart-sass
node-sass respectively LibSass is deprecated as stated in https://www.npmjs.com/package/node-sass Since we use Bootstrap v5 since TYPO3 v11, which itself compiles with dart-sass, the native JavaScript based sass solution, we can finally also make the switch. This is also possible, as FontAwesome is now dropped from the core. The sass-migrator was used here to migrate the majority of division operators to math.div or inverse it to a multiplication. See: https://sass-lang.com/documentation/cli/migrator Used commands: > yarn remove node-sass > yarn add sass -D > sass-migrator division **/*.scss > Build/Scripts/runTests.sh -s buildCss Resolves: #97538 Releases: main Change-Id: I17557ed98d6d30421c05b4a7d934a83654606d4f Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/75433 Tested-by:core-ci <typo3@b13.com> Tested-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Nikita Hovratov <nikita.h@live.de> Tested-by:
Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Anja Leichsenring <aleichsenring@ab-softlab.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Reviewed-by:
Stefan Bürk <stefan@buerk.tech>
Showing
- Build/Gruntfile.js 1 addition, 1 deletionBuild/Gruntfile.js
- Build/Sources/Sass/_legacy.scss 1 addition, 1 deletionBuild/Sources/Sass/_legacy.scss
- Build/Sources/Sass/adminpanel.scss 4 additions, 2 deletionsBuild/Sources/Sass/adminpanel.scss
- Build/Sources/Sass/component/_alert.scss 2 additions, 2 deletionsBuild/Sources/Sass/component/_alert.scss
- Build/Sources/Sass/component/_avatar.scss 3 additions, 3 deletionsBuild/Sources/Sass/component/_avatar.scss
- Build/Sources/Sass/component/_buttons.scss 1 addition, 1 deletionBuild/Sources/Sass/component/_buttons.scss
- Build/Sources/Sass/component/_callout.scss 1 addition, 1 deletionBuild/Sources/Sass/component/_callout.scss
- Build/Sources/Sass/component/_card.scss 3 additions, 3 deletionsBuild/Sources/Sass/component/_card.scss
- Build/Sources/Sass/component/_datetimepicker.scss 2 additions, 1 deletionBuild/Sources/Sass/component/_datetimepicker.scss
- Build/Sources/Sass/component/_dropdown.scss 3 additions, 1 deletionBuild/Sources/Sass/component/_dropdown.scss
- Build/Sources/Sass/component/_elementbrowser.scss 4 additions, 4 deletionsBuild/Sources/Sass/component/_elementbrowser.scss
- Build/Sources/Sass/component/_module.scss 2 additions, 1 deletionBuild/Sources/Sass/component/_module.scss
- Build/Sources/Sass/component/_note.scss 5 additions, 5 deletionsBuild/Sources/Sass/component/_note.scss
- Build/Sources/Sass/cropper/_main.scss 6 additions, 4 deletionsBuild/Sources/Sass/cropper/_main.scss
- Build/Sources/Sass/dashboard/_grid.scss 3 additions, 3 deletionsBuild/Sources/Sass/dashboard/_grid.scss
- Build/Sources/Sass/dashboard/_widget.scss 2 additions, 2 deletionsBuild/Sources/Sass/dashboard/_widget.scss
- Build/Sources/Sass/dashboard_modal/_modal.scss 3 additions, 3 deletionsBuild/Sources/Sass/dashboard_modal/_modal.scss
- Build/Sources/Sass/form.scss 3 additions, 1 deletionBuild/Sources/Sass/form.scss
- Build/Sources/Sass/module/_install.scss 1 addition, 1 deletionBuild/Sources/Sass/module/_install.scss
- Build/Sources/Sass/module/_page.scss 5 additions, 3 deletionsBuild/Sources/Sass/module/_page.scss
Please register or sign in to comment