2018-03-30 12:45:42 -04:00
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
|
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
|
|
|
|
|
|
|
ts_library(
|
|
|
|
name = "cli",
|
|
|
|
srcs = glob(
|
|
|
|
[
|
|
|
|
"*.ts",
|
|
|
|
],
|
|
|
|
),
|
|
|
|
tsconfig = ":tsconfig.json",
|
|
|
|
deps = [
|
|
|
|
"//packages/service-worker/config",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
ng_rollup_bundle(
|
|
|
|
name = "ngsw_config",
|
|
|
|
entry_point = "packages/service-worker/cli/main.js",
|
|
|
|
deps = [
|
|
|
|
":cli",
|
|
|
|
],
|
|
|
|
)
|