Support mangle option for uglify
rschooley opened this issue · 2 comments
rschooley commented
Uglify.js supports mangle: false
as an option. With the default value of true Angular.js dependencies are broken during minification.
Agamennon commented
First (thank you!) nap is cool, but uglify mangle does not play well with a lot of libraries, please include the option to pass instead of a boolean to minify the ability to pass a object like minify: {mangle:false}
craigspaeth commented
I've added the uglifyOpts option which should now let you pass { mangle: false }
. Let me know if I missed anything.
Cheers!