Meteor client side javascript minification and mearging but no mangling variable names
meteor
Solution
Meteor automatically minifies and bundles your CSS and JS on the client when you run it in production mode:
meteor --production
Problem
In Meteor, How to minify and merge javascript on the client side; but don't mangle/change variable names/function names? Is there any bundling option available? EDIT: I am currently using : `meteor bundle` with `--debug` options; but is not doing any minification at all. I am looking to bundle as well as merge all js and cs files. On changing the variable names my js scripts breaks ! What is the command which meteor uses while bundling the client side js ..is it with uglify.. what are the options i can simply remove the "mangling variable names option" NOTE: i don't want to use meteor --production or meteor bundle --debug. Since they keep all the files .. i have hell lot of files. And the js files from the packages. I simply don't want this for performance reasons.