blob: 1bbe7695fc0f874b0addfa1e13afcb8a417e9e9e [file] [log] [blame]
Philipp Schrader175a93c2023-02-19 13:13:40 -08001load("@npm//:@angular/compiler-cli/package_json.bzl", angular_compiler_cli = "bin")
2load(":ts.bzl", "ts_project")
3
Philipp Schrader155e76c2023-02-25 18:42:31 -08004exports_files([
5 "cypress.config.js",
6])
7
Philipp Schrader175a93c2023-02-19 13:13:40 -08008# Define the @angular/compiler-cli ngc bin binary as a target
9angular_compiler_cli.ngc_binary(
10 name = "ngc",
11 visibility = ["//visibility:public"],
12)
13
14# ESBuild plugin to run the Angular linker
15ts_project(
16 name = "ngc.esbuild",
17 srcs = ["ngc.esbuild.ts"],
18 tsconfig = "//:tsconfig.node",
19 visibility = ["//visibility:public"],
20 deps = [
21 "//:node_modules/@angular/compiler-cli",
22 "//:node_modules/@babel/core",
23 #"//:node_modules/@types/babel__core",
24 "//:node_modules/@types/node",
25 ],
26)