sass - How to Minify CSS with SCSS File Watcher in PHPStorm IDE -
is there way configure sass filewatcher builds minified css?
i configured sass + yui compressor accomplish pure sass if possible.
here screenshots of both configurations:
thanks in advance.
probably fastest way achieve use compressed option, mentioned in previous comments, argument. quickest way configure in phpstorm follows:
- go
file > settings - inside
project settingsselectfile watchers - you should have scss watcher created here (if have scss watch plugin enabled, phpstorm prompts create watcher when opening new .scss file.) otherwise, enable (more info in section of official documentation,) , create new watcher pressing "+" symbol.
- double click watcher name access configuration.
- in
argumentsline make sure add--style compressedargument - click ok , you're done
this image shows how configuration should look:

from point on, .css output files compressed.
Comments
Post a Comment