angular/tools/angular_ts_library.bzl
AleksanderBodurri 41ce9dc7d5 build(devtools): set up bazel and bazel tooling
Marks the beginning of a migration over to building Angular devtools with Bazel. This commit brings in tooling from the canonical angular bazel example repository and includes the necessary dependencies in the package.json
2021-11-10 12:30:52 -05:00

11 lines
355 B
Python

"Shows how to enable both worker mode and use_angular_plugin to make a drop-in replacement for ng_module"
load("@npm//@bazel/typescript:index.bzl", "ts_library")
def ng_ts_library(**kwargs):
ts_library(
compiler = "//tools:tsc_wrapped_with_angular",
supports_workers = True,
use_angular_plugin = True,
**kwargs
)