Skip to content

Commit c80b816

Browse files
gregmagolanalexeagle
authored andcommitted
feat: link_workspace_root not needed in terser_minified
1 parent 0b80f6a commit c80b816

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

packages/terser/terser_minified.bzl

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,6 @@ Instead of setting this attribute, consider using debugging compilation mode ins
8282
bazel build --compilation_mode=dbg //my/terser:target
8383
so that it only affects the current build.
8484
""",
85-
),
86-
"link_workspace_root": attr.bool(
87-
doc = """Link the workspace root to the bin_dir to support absolute requires like 'my_wksp/path/to/file'.
88-
If source files need to be required then they can be copied to the bin_dir with copy_to_bin.""",
8985
),
9086
"sourcemap": attr.bool(
9187
doc = "Whether to produce a .js.map output",
@@ -187,7 +183,6 @@ def _terser(ctx):
187183
arguments = [args],
188184
env = {"COMPILATION_MODE": ctx.var["COMPILATION_MODE"]},
189185
progress_message = "Minifying JavaScript %s [terser]" % (outputs[0].short_path),
190-
link_workspace_root = ctx.attr.link_workspace_root,
191186
)
192187

193188
return [

0 commit comments

Comments
 (0)