Skip to content

Commit

Permalink
feat: link_workspace_root not needed in terser_minified
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan authored and alexeagle committed Sep 9, 2020
1 parent 0b80f6a commit c80b816
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/terser/terser_minified.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,6 @@ Instead of setting this attribute, consider using debugging compilation mode ins
bazel build --compilation_mode=dbg //my/terser:target
so that it only affects the current build.
""",
),
"link_workspace_root": attr.bool(
doc = """Link the workspace root to the bin_dir to support absolute requires like 'my_wksp/path/to/file'.
If source files need to be required then they can be copied to the bin_dir with copy_to_bin.""",
),
"sourcemap": attr.bool(
doc = "Whether to produce a .js.map output",
Expand Down Expand Up @@ -187,7 +183,6 @@ def _terser(ctx):
arguments = [args],
env = {"COMPILATION_MODE": ctx.var["COMPILATION_MODE"]},
progress_message = "Minifying JavaScript %s [terser]" % (outputs[0].short_path),
link_workspace_root = ctx.attr.link_workspace_root,
)

return [
Expand Down

0 comments on commit c80b816

Please sign in to comment.