From d27f0b5c2295a443345405fa2d64933342afdd99 Mon Sep 17 00:00:00 2001 From: Greg Magolan Date: Wed, 13 Nov 2019 14:21:46 -0800 Subject: [PATCH] build: fix typo in ng_rollup_bundle marco where es5 bundle were being passed to terser instead of es2015 bundle (#33808) PR Close #33808 --- tools/ng_rollup_bundle/ng_rollup_bundle.bzl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/ng_rollup_bundle/ng_rollup_bundle.bzl b/tools/ng_rollup_bundle/ng_rollup_bundle.bzl index 232451cc33..93f468dd7f 100644 --- a/tools/ng_rollup_bundle/ng_rollup_bundle.bzl +++ b/tools/ng_rollup_bundle/ng_rollup_bundle.bzl @@ -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,