mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00:00
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
11 lines
355 B
Python
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
|
|
)
|