24 lines
462 B
Python
24 lines
462 B
Python
load("//tools:defaults.bzl", "ng_rollup_bundle", "ts_library")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
ts_library(
|
|
name = "cli",
|
|
srcs = glob(
|
|
["**/*.ts"],
|
|
),
|
|
tsconfig = ":tsconfig.json",
|
|
deps = [
|
|
"//packages/service-worker/config",
|
|
"@npm//@types/node",
|
|
],
|
|
)
|
|
|
|
ng_rollup_bundle(
|
|
name = "ngsw_config",
|
|
entry_point = "packages/service-worker/cli/main.js",
|
|
deps = [
|
|
":cli",
|
|
],
|
|
)
|