Bazel: Force sourcemaps inlining in polymer bundler

When enabled, create identity sourcemaps or use existing sourcemaps
during bundling. Each inline script will contain its own sourcemap.

Bug: Issue 9957
Change-Id: I2ed87d6a5047ed98aa00bff0b463e88098762fd5
This commit is contained in:
David Ostrovsky
2019-12-26 21:41:29 +01:00
parent 235eccffe0
commit b9dad7112d

View File

@@ -316,6 +316,7 @@ def _bundle_impl(ctx):
"$p/" + ctx.file._bundler_archive.path,
"--inline-scripts",
"--inline-css",
"--sourcemaps",
"--strip-comments",
"--out-file",
"$p/" + bundled.path,