tsconfig.json files using extends
ts_config
ts_config(name, deps, src)
Allows a tsconfig.json file to extend another file.
Normally, you just give a single tsconfig.json
file as the tsconfig attribute
of a ts_library
rule. However, if your tsconfig.json
uses the extends
feature from TypeScript, then the Bazel implementation needs to know about that
extended configuration file as well, to pass them both to the TypeScript compiler.
Attributes
name |
A unique name for this rule. |
deps |
Additional tsconfig.json files referenced via extends |
src |
The tsconfig.json file passed to the TypeScript compiler |