Forked from dropddesigns/SASS - Both.sublime-build
Created
February 22, 2018 09:58
-
-
Save mlbd/2d089907d772449866568358d4bc0177 to your computer and use it in GitHub Desktop.
SASS Build script to build both uncompressed and compress CSS files
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
Show hidden characters
{ | |
"cmd": [ | |
"sass", "--update", "--watch", "$file:${file_path}/${file_base_name}.css", "--sourcemap=none", "--stop-on-error", "--no-cache", "--style", "expanded", | |
"&", | |
"sass", "--update", "$file:${file_path}/${file_base_name}.min.css", "--stop-on-error", "--no-cache", "--style", "compressed" | |
], | |
"selector": "source.sass, source.scss", | |
"line_regex": "Line ([0-9]+):", | |
"osx":{"path": "/usr/local/bin:$PATH"}, | |
"windows":{"shell": "true"} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment