DEV Community

Discussion on: node-sass considered harmful

Collapse
 
melwynfurtado profile image
Melwyn Furtado

Thanks for this information.

I was looking to replace node-sass with sass as part of upgrading Webpack and related dependencies. Found that I couldn't replace it without making some changes to codebase on extending compound selectors (sass-lang.com/documentation/breaki...).

Are you aware of any more such incompatibilities ?

Collapse
 
limal profile image
Łukasz Wolnik

No, I wasn't even aware of @extend in SASS and LESS! Seems helpful in using BEM. Thanks for this.

But from the compatibility info on that page it looks like sass is supporting @extend whereas node-sass not. Or as you say it does but in a different way that requires changes. Good shout! I'll add a footer note to the article.