Enable new CSS compiler by default
What does this MR do and why?
After analyzing the CSS diff between the new and old compiler, the diff doesn't have us concerned too much. We therefore want to enable the new SASS compiler in CI/CD to see if there are any failures.
Furthermore we turn it on in development by default as well
- See also: #438278 (closed)
- Link to the Diff: gitlab-org/frontend/playground/sass-compiler-diff!1 (comment 1758213709)
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
N/A
How to set up and validate locally
- Restart
gdk restart rails-web vite
orgdk restart rails-web webpack
- You should see CSS files compiled in
app/assets/builds
- If you add
body{color: red !important}
toapp/assets/builds/application.css
and reload the page, then a few text bits should become red. This "proves" that the new gemcssbundling
is used. - If you now add
body{color: blue !important}
toapp/assets/stylesheets/application.scss
and reload the page, then a few text bits should become blue. This "proves" that vite/webpack started the new CSS compiler.
Edited by Lukas Eipert