From 98c8dbc3eca11686c3340e61722c659dc0138612 Mon Sep 17 00:00:00 2001 From: Greg Magolan Date: Thu, 21 Nov 2019 18:00:52 -0800 Subject: [PATCH] fix(terser): remove ngDevMode & ngI18nClosureMode global_defs from default terser config Now that https://github.com/angular/angular/pull/33865 has landed and ng_rollup_bundle within the angular repo has its own terser config this layering violation can be fixed. --- packages/terser/src/terser_config.default.json | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/terser/src/terser_config.default.json b/packages/terser/src/terser_config.default.json index 20e4b3f241..1caeb4e88f 100644 --- a/packages/terser/src/terser_config.default.json +++ b/packages/terser/src/terser_config.default.json @@ -1,6 +1,5 @@ { "compress": { - "global_defs": {"ngDevMode": false, "ngI18nClosureMode": false}, "keep_fnames": "bazel_no_debug", "passes": 3, "pure_getters": true,