Skip to content

Commit

Permalink
fix(esbuild): allow empty string as an input to sourcemap for bazel 2…
Browse files Browse the repository at this point in the history
….x support (#2549)
  • Loading branch information
mattem authored Mar 23, 2021
1 parent 4859a0f commit 3b3e020
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/esbuild/esbuild.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ See https://esbuild.github.io/api/#platform for more details
""",
),
"sourcemap": attr.string(
values = ["external", "inline", "both"],
values = ["external", "inline", "both", ""],
mandatory = False,
doc = """Defines where sourcemaps are output and how they are included in the bundle. By default, a separate `.js.map` file is generated and referenced by the bundle. If 'external', a separate `.js.map` file is generated but not referenced by the bundle. If 'inline', a sourcemap is generated and its contents are inlined into the bundle (and no external sourcemap file is created). If 'both', a sourcemap is inlined and a `.js.map` file is created.
Expand Down

0 comments on commit 3b3e020

Please sign in to comment.