We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c7b058d commit a95e6bcCopy full SHA for a95e6bc
1 file changed
rules/ts/proto_ts_library.bzl
@@ -37,9 +37,9 @@ def _proto_ts_library_impl(ctx):
37
dts_outputs.append(
38
ctx.actions.declare_file(base + ".d.ts", sibling = f),
39
)
40
- # js_outputs.append(
41
- # ctx.actions.declare_file(base + ".js", sibling = f),
42
- # )
+ js_outputs.append(
+ ctx.actions.declare_file(base + ".js", sibling = f),
+ )
43
44
# all outputs (.d.ts + .js)
45
outputs = js_outputs + dts_outputs
@@ -98,7 +98,7 @@ proto_ts_library = rule(
98
),
99
"tsc": attr.label(
100
allow_files = True,
101
- cfg = "host",
+ cfg = "exec",
102
mandatory = True,
103
doc = "typescript compiler executable",
104
executable = True,
0 commit comments