angular/devtools/tools/angular-optimization/BUILD.bazel

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
720 B
Text
Raw Normal View History

load("//devtools/tools:defaults.bzl", "copy_to_bin", "js_library")
package(default_visibility = ["//visibility:public"])
# Exposed `js_library` targets need to copy files to `bazel-out`. More details here:
# https://github.com/bazelbuild/rules_nodejs/pull/3083.
copy_to_bin(
name = "js_lib_files",
srcs = [
"ensure-no-linker-decl.mjs",
"esbuild-plugin.d.ts",
"esbuild-plugin.mjs",
],
)
js_library(
name = "js_lib",
srcs = [":js_lib_files"],
deps = [
"//:node_modules/@angular/build",
"//:node_modules/@babel/core",
"//:node_modules/@babel/plugin-transform-async-generator-functions",
"//packages/compiler-cli:compiler-cli_rjs",
],
)