angular-cn/packages/bazel/test/ng_package/example-with-ts-library/BUILD.bazel

24 lines
543 B
Python
Raw Normal View History

load("//tools:defaults.bzl", "ng_package", "ts_library")
package(default_visibility = ["//packages/bazel/test:__subpackages__"])
ts_library(
name = "example",
srcs = glob(["*.ts"]),
module_name = "example",
deps = [],
)
ng_package(
name = "npm_package",
srcs = [
"package.json",
],
entry_point = ":index.ts",
deps = [
":example",
"//packages/bazel/test/ng_package/example-with-ts-library/portal",
"//packages/bazel/test/ng_package/example-with-ts-library/utils",
],
)