This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi guys. Using workbench plugin for visual studio for a while now. Works great but I have a little problem. I use SASS to create a CSS file and the CSS file is minimized to an other CSS file. However when I save the SASS it creates the output in the CSS file but the CSS file is not minimized after that. I have to manually open te CSS file, hit save, and then the minimized version is updated. Is there a way to automate this process? So this is what I mean Instead of: style.scss (hit save) --> style.css, (hit save) --> style.min.css I want: Instead of: style.scss (hit save) --> style.css --> style.min.css |
|
|
Are you using Compass? That process is correct if you are using the standard Sass compiler so if you are not using Compass let us know. With Compass we call out to the Compass compiler which has its own process for compilation and minification so the behaviour is for it to produce the single .scss file. We do have an item on our backlog to do a subsequent "save" on the .css files generated by Compass to perform a minification action (if thats defined in the project settings) as the call out to the Compass compiler has completed. This will generate the .min.css alongside the standard output from Compass.
|
|
|
That would be extremely useful! :-) |
|
|
Thanks. I'm using compass. |
|