build: set a default module_name for ts_library rules (#28051)

PR Close #28051
This commit is contained in:
Alex Eagle
2019-01-10 11:55:20 -08:00
committed by Alex Rickabaugh
parent 45bf911df8
commit 38343a2388
55 changed files with 61 additions and 70 deletions

View File

@ -37,9 +37,14 @@ ts_devserver(
load("@build_bazel_rules_nodejs//:defs.bzl", "nodejs_binary", "rollup_bundle")
filegroup(
name = "empty_node_modules",
)
rollup_bundle(
name = "bundle",
entry_point = "src/main",
node_modules = ":empty_node_modules",
deps = ["//src"],
)