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 everyone! I use workbench to deal with bootstrap skin. Skin has scss files which can be combined. For example application.scss file, has import directives:
and as a result I can get one large css file. Also I have coffee file, for example application.coffee:
How can I use workbench in order to get single js file with all attached resources (jquery, jquery ui, bootstrap). I don't need minification only one result file? BR, Igor |
|
|
If you open the Web Workbench Settings for the project (right click on your project and select this from the context menu), you can select files to import for JavaScript and CoffeeScript files when compiling/minifying. You will find though that this only extends to files of the same type. You can however select say vendor/jquery191.js and then include the other two vendor files and application.js (the compiled output from your CoffeeScript compilation) and then that will produce a minified file which is the combination of all of those JavaScript files combined togethor (and then minified). To get an un-minified combined version you can enable the setting under Tools/Options/WebWorkbench in the JavaScript section named "Produce Raw Combined File".
|
|
|
Thank you, Jeremy Maybe it is possible to make this with some detectives help? Something like import include? Can I make this without window settings? Igor |
|
|
We dont believe there is anything particularly wrong with the current approach but you are certainly welcome to add a Feature Request for this and if it gets enough support we could have a look at this.
|
|