2018-09-11 21:11:32 -04:00
|
|
|
load("//tools:defaults.bzl", "ng_rollup_bundle", "ts_library")
|
2018-03-30 12:45:42 -04:00
|
|
|
|
2019-01-16 04:19:01 -05:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
2018-03-30 12:45:42 -04:00
|
|
|
ts_library(
|
|
|
|
name = "cli",
|
|
|
|
srcs = glob(
|
2018-10-16 02:24:22 -04:00
|
|
|
["**/*.ts"],
|
2018-03-30 12:45:42 -04:00
|
|
|
),
|
|
|
|
tsconfig = ":tsconfig.json",
|
|
|
|
deps = [
|
|
|
|
"//packages/service-worker/config",
|
2019-02-20 12:54:42 -05:00
|
|
|
"@npm//@types/node",
|
2018-03-30 12:45:42 -04:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
ng_rollup_bundle(
|
|
|
|
name = "ngsw_config",
|
2019-06-07 16:38:06 -04:00
|
|
|
entry_point = ":main.ts",
|
2018-03-30 12:45:42 -04:00
|
|
|
deps = [
|
|
|
|
":cli",
|
|
|
|
],
|
|
|
|
)
|