Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What's wrong with SCSS modules? It has a lot of really useful functionality that frontend developers like me love.


`node-sass` was the fastest solution (node bindings to a C++ library) was deprecated a few years back.

`sass` (dart-sass) is the current iteration but it’s an order of magnitude slower for larger projects with many small scss module files. I’ve seen it add +10 to 30 seconds.

`sass-embedded` will be the next iteration for dart-sass but in its current form still suffers from similar issues.

I believe using postcss for nesting support + css variables is a better alternative, considering that css will likely get native nesting support in a few years.

https://www.w3.org/TR/css-nesting-1/


They still require a preprocessor. Let's push to get that stuff into CSS! Worst case run `npm install sass`.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: