Remove LESS stylesheets and dependencies (#27409)

* Remove components, core and modules LESS stylesheets

* Remove variables LESS stylesheets

* Remove app LESS stylesheets

* Remove github-sync, onboarding LESS stylesheets

* Remove main-light and IEEE LESS stylesheets

* Remove Less loader configuration

* Remove bootstrap-3 entrypoint

* Rename bootstrap-5 entrypoint to bootstrap

* Remove bootstrap-5 CSS folder and move stylesheets

* Update CSS variables

* Restore and update github-sync.scss path

* Fix try-premium.scss path and fix undefined mixin error

* Restore entrypoints

* Simplify buildCssPath to always use main-style.css

* Remove less from prettier formatting scripts

* Remove less from addHook extension

* Source format

* Remove nvd3 file reference from prettierignore (equivalent of nvd3.scss)

* Remove less and less-loader

* Add SCSS files to pirates require hook

GitOrigin-RevId: bd83c79f4d6ef7305d75993959a4dc5e7714ef9c
This commit is contained in:
Rebeka Dekany
2025-08-06 08:05:38 +00:00
committed by Copybot
parent dcd73f16a6
commit 3f11776ecd
303 changed files with 79 additions and 24601 deletions
+2 -4
View File
@@ -26,8 +26,8 @@
"webpack:profile": "webpack --config webpack.config.prod.js --profile --json > stats.json",
"format": "prettier --list-different $PWD/'**/*.{js,jsx,mjs,ts,tsx,json}'",
"format:fix": "prettier --write $PWD/'**/*.{js,jsx,mjs,ts,tsx,json}'",
"format:styles": "prettier --list-different $PWD/'**/*.{css,less,scss}'",
"format:styles:fix": "prettier --write $PWD/'**/*.{css,less,scss}'",
"format:styles": "prettier --list-different $PWD/'**/*.{css,scss}'",
"format:styles:fix": "prettier --write $PWD/'**/*.{css,scss}'",
"format:pug": "prettier --list-different $PWD/'**/*.pug'",
"format:pug:fix": "prettier --write $PWD/'**/*.pug'",
"lint": "eslint --max-warnings 0 --format unix --ext .js,.jsx,.mjs,.ts,.tsx .",
@@ -314,8 +314,6 @@
"jscodeshift": "^17.0.0",
"jsdom": "^19.0.0",
"jsdom-global": "^3.0.2",
"less": "^3.13.1",
"less-loader": "^11.1.3",
"match-sorter": "^6.2.0",
"mathjax": "^3.2.2",
"mensch": "^0.3.4",