PDA

View Full Version : How to use JSBuilder 3 to compress CSS?



batixu
11 Jan 2012, 2:19 PM
I used the JSBuilder 3 from Sencha Touch 1.1.1 to create my custom build. I found the js files were minified. However, all CSS files remained the same. I listed my CSS files in "resources" in my jsb3 JSON file. What is the correct way to configure jsb3 to compress CSS files as well?

mitchellsimoens
12 Jan 2012, 10:50 AM
For Sencha Touch, the recommended way to do CSS is through SASS which in the config.rb you can set the environment to :production and output_style to :compressed