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 hidden or 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 |
Author
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-convertoryarn add global sass-convertsass-convert -R ./ -F sass -T scss && find . -type f -name '*.sass' -deleteIf this command doesn't delete the sass files (doesn't work on windows)
npm i -g rimraforyarn add global rimrafrimraf **/*.sass