39 lines
766 B
Python
39 lines
766 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",
|
|
"//packages/compiler",
|
|
"@rxjs",
|
|
"@rxjs//operators",
|
|
],
|
|
)
|
|
|
|
ng_package(
|
|
name = "npm_package",
|
|
srcs = glob(["**/*.externs.js"]) + [
|
|
"package.json",
|
|
"//packages/core/testing:package.json",
|
|
],
|
|
entry_point = "packages/core/index.js",
|
|
tags = [
|
|
"ivy-jit",
|
|
"ivy-local",
|
|
"release-with-framework",
|
|
],
|
|
deps = [
|
|
":core",
|
|
"//packages/core/testing",
|
|
],
|
|
)
|