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.
Meteor automatically minifies and bundles your CSS and JS on the client when you run it in production mode:
meteor --production
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With