build(zone.js): remove sourceMappingUrl from bundle (#31892)

Close #31883

PR Close #31892
This commit is contained in:
JiaLiPassion 2019-07-29 06:01:13 -07:00 committed by Andrew Kushnir
parent 5c9a8961da
commit f216724c2c
1 changed files with 2 additions and 2 deletions

View File

@ -100,7 +100,7 @@ genrule(
],
cmd = " && ".join([
"mkdir -p $(@D)",
"cp $(@D)/" + b[0].replace("-", "_") + "_rollup.es5umd.js $(@D)/" + b[0] + ".js",
"sed '$$d' $(@D)/" + b[0].replace("-", "_") + "_rollup.es5umd.js > $(@D)/" + b[0] + ".js",
"cp $(@D)/" + b[0].replace("-", "_") + "_rollup.min.es5umd.js $(@D)/" + b[0] + ".min.js",
]),
)
@ -174,7 +174,7 @@ genrule(
],
cmd = " && ".join([
"mkdir -p $(@D)",
"cp $(@D)/" + b.replace("-", "_") + "_rollup.umd.js $(@D)/" + b + ".js",
"sed '$$d' $(@D)/" + b.replace("-", "_") + "_rollup.umd.js > $(@D)/" + b + ".js",
"cp $(@D)/" + b.replace("-", "_") + "_rollup.min.umd.js $(@D)/" + b + ".min.js",
]),
)