You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to add the recently implemented transpiler attribute to the ts_project. I'm adding the attribute to an existing target that already works and looks like the following:
File "/private/var/tmp/.../external/npm/@bazel/typescript/internal/ts_project.bzl", line 851, column 13, in ts_project_macro
fail("""ts_project target "//{}:{}" is configured to produce no outputs.
Error in fail: ts_project target "//my-target:compile_ts" is configured to produce no outputs.
Note that ts_project must know the srcs in advance in order to predeclare the outputs.
🐞 bug report
Affected Rule
ts_project
Description
I'm trying to add the recently implemented
transpiler
attribute to thets_project
. I'm adding the attribute to an existing target that already works and looks like the following:But when I add the transpiler attribute
transpiler = swc
, I get the following error:By just removing
transpiler
it builds again.🔬 Minimal Reproduction
My WORKSPACE has the relevant rules and the npm package @bazel/typescript has been updated to the version 4.6.0
🔥 Exception or Error
🌍 Your Environment
Operating System:
Output of
bazel version
:Rules_nodejs version:
The text was updated successfully, but these errors were encountered: