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
|
I have Compass project running in VS2013, and it's all working fine, however lately I have been trying to use the Web Workbench settings to control file minification and outputting. I have my scripts setup to combine and output to "Style Library/js", likewise I have the generated .css files setup to output "Style Library/css". The problem that I have is that this doesn't seem to do anything unless I manually go and trigger an output process, and the only way I've been able to get that to happen is to open up the web workbench settings screen (which usually appears in an edited state by default) and then save it. That seems to trigger the files to be outputted correctly. It might be a stupid question but is that the correct way to get minification/outputting working? As this is introducing some extra manual steps everytime I need to deploy something, I have temporarily set the output folder and minification settings in the config.rb, but I would like to find out what is the preferred method. I'm using WW 3.3.1608 and Visual studio 2013 |
|
|
When using Compass, minification is handled as an option of Compass itself - to tweak this you need to set the following option in config.rb.
Setting minification on the .css files in the project settings will only trigger minification if you save those .css files directly yourself. When changing the settings and saving it this causes a recompile of everything which is why you get the effect of it producing the result you are looking for :)
|
|