mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user