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:

sass

yui compressor css

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 settings select file 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 arguments line make sure add --style compressed argument
  • click ok , you're done

this image shows how configuration should look:

compressed scss settings in phpstorm

from point on, .css output files compressed.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -