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:
Greg Magolan 2019-11-13 14:21:46 -08:00 committed by Alex Rickabaugh
parent e7dd7525cb
commit d27f0b5c22
1 changed files with 4 additions and 4 deletions

View File

@ -406,9 +406,9 @@ def ng_rollup_bundle(name, **kwargs):
visibility = visibility,
**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)
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)
npm_package_bin(
name = "_%s_brotli" % name,
@ -429,9 +429,9 @@ def ng_rollup_bundle(name, **kwargs):
visibility = visibility,
**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)
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)
npm_package_bin(
name = "_%s_es2015_brotli" % name,