add in some settings that while they are the default values Terser use out of the box, it will help to document what settings we are using to any developer reading the code

This commit is contained in:
Brian Mulhall
2020-03-14 18:37:32 -05:00
parent d310e38574
commit dcf1afbd64

View File

@@ -12,6 +12,9 @@ meteorJsMinify = function (source) {
drop_debugger: false, // remove debugger; statements
unused: false, // drop unreferenced functions and variables
dead_code: true, // remove unreachable code
keep_infinity: false,
unsafe: false,
unsafe_proto: false,
global_defs: {
"process.env.NODE_ENV": NODE_ENV
}