Created
December 10, 2019 00:39
-
-
Save minuz/340d0f0559bad87e4b9f6c7522016ef5 to your computer and use it in GitHub Desktop.
How to convert sass to scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sass-convert -R ./ -F sass -T scss && find . -type f -name '*.sass' -delete |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is a simple command to recursively convert the sass files to scss using
sass-convert
.Usage
npm i -g sass-convert
oryarn add global sass-convert
sass-convert -R ./ -F sass -T scss && find . -type f -name '*.sass' -delete
If this command doesn't delete the sass files (doesn't work on windows)
npm i -g rimraf
oryarn add global rimraf
rimraf **/*.sass