angular-docs-cn/packages/localize/BUILD.bazel

39 lines
820 B
Python

load("//tools:defaults.bzl", "ng_package", "ts_library")
package(default_visibility = ["//visibility:public"])
ts_library(
name = "localize",
srcs = glob(
[
"*.ts",
"src/**/*.ts",
],
),
module_name = "@angular/localize",
deps = [
"//packages/localize/src/localize",
"//packages/localize/src/utils",
],
)
ng_package(
name = "npm_package",
srcs = [
"package.json",
"//packages/localize/init:package.json",
],
entry_point = ":index.ts",
nested_packages = [
"//packages/localize/schematics:npm_package",
"//packages/localize/src/tools:npm_package",
],
tags = [
"release-with-framework",
],
deps = [
":localize",
"//packages/localize/init",
],
)