2018-02-28 12:45:11 -05:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2018-03-14 14:03:19 -04:00
|
|
|
load("//tools:defaults.bzl", "ng_module", "ng_package")
|
2018-02-28 12:45:11 -05:00
|
|
|
|
|
|
|
ng_module(
|
|
|
|
name = "elements",
|
|
|
|
srcs = glob(
|
|
|
|
[
|
|
|
|
"*.ts",
|
|
|
|
"src/**/*.ts",
|
|
|
|
],
|
|
|
|
),
|
|
|
|
module_name = "@angular/elements",
|
|
|
|
deps = [
|
|
|
|
"//packages/core",
|
|
|
|
"//packages/platform-browser",
|
|
|
|
"@rxjs",
|
|
|
|
],
|
|
|
|
)
|
2018-03-14 14:03:19 -04:00
|
|
|
|
|
|
|
ng_package(
|
|
|
|
name = "npm_package",
|
|
|
|
srcs = glob([
|
|
|
|
"**/*.externs.js",
|
|
|
|
"**/package.json",
|
|
|
|
]),
|
|
|
|
entry_point = "packages/elements/index.js",
|
|
|
|
deps = [
|
|
|
|
":elements",
|
|
|
|
],
|
|
|
|
)
|