volojs / volo

Create front end projects from templates, add dependencies, and automate the resulting projects
https://volojs.github.io/
Other
1.41k stars 100 forks source link

volo build does not allow you to exclude some JS libs #125

Closed teleyinex closed 11 years ago

teleyinex commented 11 years ago

I'm using volo for building a Mozilla Firefox App and I've found that I need to not uglify one library: Rickshaw.js. When the lib is uglified it is broken, so I've to manually copy the original one into the www-built folder in order to make my app working. Do you know if there is a way to exclude files?

jrburke commented 11 years ago

This is more of a question I think for r.js, the requirejs optimizer, if you have a volo build that calls it. You can specify optimize: 'none' in a r.js build option, to skip minification, then you could decide after r.js runs to selectively minify files using uglifyjs directly.

Going to close this as not a restriction imposed by volo itself, but more what the build tool does for the specific volo build call in that project. Feel free to expand on what your volo build does though in this ticket and we can try to work out a solution.

teleyinex commented 11 years ago

@jrburke Thanks for the info! I'll explore a bit the options and see how I can integrate a solution for my app.