Transpile Sass to CSS
Dart Sass is the reference implementation of Sass, written in Dart.
Sass is a style sheet language that is transpiled to CSS. It allows you to
use variables, nested rules, mixins, functions, and more, all with a fully
CSS-compatible syntax. Sass helps keep large style sheets well-organized and
makes it easy to share design within and across projects.
To transpile Sass to CSS:
dart-sass in.scss out.css
To create an alias from sass
to dart-sass
:
sudo snap alias dart-sass sass
To remove the alias:
sudo snap unalias sass
References: