HTML & CSS · Senior · Question 15 of 75
How does Dart Sass differ from Node Sass?
- ✓Correct answer: Node Sass (LibSass) is deprecated; Dart Sass is the primary implementation
- 2Dart Sass works only in Flutter projects and requires the Dart SDK
- 3Node Sass is faster and supports more syntax, including
@use
Explanation
LibSass and Node Sass are deprecated and don't support @use or the module system. Dart Sass is the reference implementation, published on npm as sass (and sass-embedded). Migration means removing node-sass, installing sass, and gradually moving from @import to @use and from / division to math.div.