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 ?
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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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 ?
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
whereasnode-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.