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",
|
|
|
|
],
|
|
|
|
),
|
2019-02-19 12:16:08 -05:00
|
|
|
bundle_dts = True,
|
2018-02-28 12:45:11 -05:00
|
|
|
deps = [
|
|
|
|
"//packages/core",
|
|
|
|
"//packages/platform-browser",
|
2019-02-13 19:31:29 -05:00
|
|
|
"@ngdeps//rxjs",
|
2018-02-28 12:45:11 -05:00
|
|
|
],
|
|
|
|
)
|
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",
|
2018-04-12 18:09:06 -04:00
|
|
|
packages = [
|
|
|
|
"//packages/elements/schematics:npm_package",
|
|
|
|
],
|
2018-06-05 14:38:46 -04:00
|
|
|
tags = [
|
|
|
|
"release-with-framework",
|
|
|
|
],
|
2018-12-11 19:53:42 -05:00
|
|
|
# Do not add more to this list.
|
|
|
|
# Dependencies on the full npm_package cause long re-builds.
|
|
|
|
visibility = ["//visibility:private"],
|
2018-03-14 14:03:19 -04:00
|
|
|
deps = [
|
|
|
|
":elements",
|
|
|
|
],
|
|
|
|
)
|