build: fix typo in ng_rollup_bundle marco where es5 bundle were being passed to terser instead of es2015 bundle (#33808)
PR Close #33808
This commit is contained in:
parent
e7dd7525cb
commit
d27f0b5c22
|
@ -406,9 +406,9 @@ def ng_rollup_bundle(name, **kwargs):
|
||||||
visibility = visibility,
|
visibility = visibility,
|
||||||
**kwargs
|
**kwargs
|
||||||
)
|
)
|
||||||
terser_minified(name = name + ".min", src = name + "", visibility = visibility, **common_terser_args)
|
terser_minified(name = name + ".min", src = name, visibility = visibility, **common_terser_args)
|
||||||
native.filegroup(name = name + ".min.js", srcs = [name + ".min"], visibility = visibility)
|
native.filegroup(name = name + ".min.js", srcs = [name + ".min"], visibility = visibility)
|
||||||
terser_minified(name = name + ".min_debug", src = name + "", debug = True, visibility = visibility, **common_terser_args)
|
terser_minified(name = name + ".min_debug", src = name, debug = True, visibility = visibility, **common_terser_args)
|
||||||
native.filegroup(name = name + ".min_debug.js", srcs = [name + ".min_debug"], visibility = visibility)
|
native.filegroup(name = name + ".min_debug.js", srcs = [name + ".min_debug"], visibility = visibility)
|
||||||
npm_package_bin(
|
npm_package_bin(
|
||||||
name = "_%s_brotli" % name,
|
name = "_%s_brotli" % name,
|
||||||
|
@ -429,9 +429,9 @@ def ng_rollup_bundle(name, **kwargs):
|
||||||
visibility = visibility,
|
visibility = visibility,
|
||||||
**kwargs
|
**kwargs
|
||||||
)
|
)
|
||||||
terser_minified(name = name + ".min.es2015", src = name + "", visibility = visibility, **common_terser_args)
|
terser_minified(name = name + ".min.es2015", src = name + ".es2015", visibility = visibility, **common_terser_args)
|
||||||
native.filegroup(name = name + ".min.es2015.js", srcs = [name + ".min.es2015"], visibility = visibility)
|
native.filegroup(name = name + ".min.es2015.js", srcs = [name + ".min.es2015"], visibility = visibility)
|
||||||
terser_minified(name = name + ".min_debug.es2015", src = name + "", debug = True, visibility = visibility, **common_terser_args)
|
terser_minified(name = name + ".min_debug.es2015", src = name + ".es2015", debug = True, visibility = visibility, **common_terser_args)
|
||||||
native.filegroup(name = name + ".min_debug.es2015.js", srcs = [name + ".min_debug.es2015"], visibility = visibility)
|
native.filegroup(name = name + ".min_debug.es2015.js", srcs = [name + ".min_debug.es2015"], visibility = visibility)
|
||||||
npm_package_bin(
|
npm_package_bin(
|
||||||
name = "_%s_es2015_brotli" % name,
|
name = "_%s_es2015_brotli" % name,
|
||||||
|
|
Loading…
Reference in New Issue