angular-cn/packages/core/BUILD.bazel

33 lines
664 B
Python

package(default_visibility = ["//visibility:public"])
load("//tools:defaults.bzl", "ng_module", "ng_package")
ng_module(
name = "core",
srcs = glob(
[
"*.ts",
"src/**/*.ts",
],
),
module_name = "@angular/core",
deps = [
"//packages:types",
"@rxjs",
],
)
ng_package(
name = "npm_package",
srcs = glob([
"**/*.externs.js",
"**/package.json",
]) + ["//packages/core/testing:npm_package_assets"],
entry_point = "packages/core/index.js",
secondary_entry_points = ["testing"],
deps = [
":core",
"//packages/core/testing",
],
)