As part of Vite 5.4.0, they now support the SASS modern compiler API and sass-embedded.
Sass Embedded is a dart.exe process that sits in the background and accepts sass input, and outputs CSS.
Now instead of using JS compiled from the Sass Dart repository, you can now directly use the Dart VM, which is significantly faster.
In the past, sass-embedded has had issues with repositories needing to build many small entry files, into many small output files. This was fixed at the beginning of the year, by using a long lived dart.exe rather than starting a dart.exe for every entry file. I'm very proud to have provided the prototype code for this, and it ended up halving our build times at work.
If you want to give it a shot, update your vite, and install www.npmjs.com/package/sass-embedded
Look, I know Tailwind is the shiny thing, but there are still many many companies out there relying on CSS and SCSS.