Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ This is a good choice if you need to integrate with other Bazel rules via
You'll basically follow the example of /swc/private/swc.bzl in this repo, by using
the `ctx.actions.run` Starlark API.

- Use `@aspect_rules_swc//swc:cli` as the binary tool to execute
- Use `@aspect_rules_swc//swc:swc_compile` as the binary tool to execute
- To pass the relevant files to the action, `inputs` should include
`ctx.toolchains["@aspect_rules_swc//swc:toolchain_type"].swcinfo.tool_files`

Expand Down