Last active
August 29, 2015 13:56
-
-
Save ihorvorotnov/9106921 to your computer and use it in GitHub Desktop.
SASS/SCSS build command for Sublime Text to always compile only one main style.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
/** | |
* Stop SASS Build package from compiling _chunks and always compile one style.scss which @imports all _chunks | |
* /scss/style.scss => /style.css | |
* Based on http://hovercraftie.tumblr.com/post/61592756918/update-sass-build-plug-in-for-sublime-text-2-to-allow | |
*/ | |
// Put this in SASS.sublime-build | |
"cmd": ["sass", "--update", "${file_path}/style.scss:${file_path}/../style.css", "--stop-on-error", "--no-cache"], | |
// Put this is SASS - Compressed.sublime-build | |
"cmd": ["sass", "--update", "${file_path}/style.scss:${file_path}/../style.css", "--stop-on-error", "--no-cache", "--style", "compressed"], |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment