Bazel rules for ts
High-performance alternative to the
@bazel/typescript npm package, based on
ts_project rule here is identical to the one in rules_nodejs, making it easy to migrate.
Since rules_js always runs tools from the bazel-out tree, rules_ts naturally fixes the usability bugs with rules_nodejs.
- Freely mix generated
tsconfig.jsonfiles in the bazel-out tree with source files
- Fixes the need for any
tsconfig.jsonas reported in https://github.com/microsoft/TypeScript/issues/37378
- "worker mode" for
ts_projectnow shares workers across all targets, rather than requiring one worker pool per target
From the release you wish to use:
copy the WORKSPACE snippet into your