angular-docs-cn/packages/service-worker/cli/BUILD.bazel

24 lines
465 B
Python
Raw Normal View History

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