angular-docs-cn/packages/language-service/BUILD.bazel

38 lines
922 B
Python

load("//tools:defaults.bzl", "npm_package", "ts_library")
package(default_visibility = ["//visibility:public"])
ts_library(
name = "language-service",
srcs = glob(
[
"*.ts",
"src/**/*.ts",
],
),
deps = [
"//packages:types",
"//packages/compiler",
"//packages/compiler-cli",
"//packages/core",
"@npm//@types/node",
"@npm//typescript",
],
)
npm_package(
name = "npm_package",
srcs = ["package.json"],
tags = [
"release-with-framework",
],
# Do not add more to this list.
# Dependencies on the full npm_package cause long re-builds.
visibility = ["//visibility:private"],
deps = [
":language-service",
# min bundle is not used at the moment; omit from package to speed up build
"//packages/language-service/bundles:language-service.umd.js",
],
)