Revert "build: add ngJitMode to ng_rollup_bundle terser config (#33773)"
This reverts commit c89eed56b6
.
Reason: fails on Windows CI
This commit is contained in:
parent
6fadb7a3a4
commit
a48573efe8
|
@ -2,10 +2,7 @@ package(default_visibility = ["//visibility:public"])
|
|||
|
||||
load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary")
|
||||
|
||||
exports_files([
|
||||
"rollup.config.js",
|
||||
"terser_config.json",
|
||||
])
|
||||
exports_files(["rollup.config.js"])
|
||||
|
||||
nodejs_binary(
|
||||
name = "rollup_with_build_optimizer",
|
||||
|
|
|
@ -391,7 +391,6 @@ def ng_rollup_bundle(name, **kwargs):
|
|||
# maintain the comments off behavior. We pass the --comments flag with
|
||||
# a regex that always evaluates to false to do this.
|
||||
"args": ["--comments", "/bogus_string_to_suppress_all_comments^/"],
|
||||
"config_file": "//tools/ng_rollup_bundle:terser_config.json",
|
||||
"sourcemap": False,
|
||||
}
|
||||
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
{
|
||||
"compress": {
|
||||
"global_defs": {"ngDevMode": false, "ngI18nClosureMode": false, "ngJitMode": false},
|
||||
"keep_fnames": "bazel_no_debug",
|
||||
"passes": 3,
|
||||
"pure_getters": true,
|
||||
"reduce_funcs": "bazel_no_debug",
|
||||
"reduce_vars": "bazel_no_debug",
|
||||
"sequences": "bazel_no_debug"
|
||||
},
|
||||
"mangle": "bazel_no_debug"
|
||||
}
|
Loading…
Reference in New Issue