build(bazel): update to rules_typescript 0.17.0 & rules_nodejs 0.13.4 (#25920)

PR Close #25920
This commit is contained in:
Greg Magolan
2018-09-11 18:11:32 -07:00
committed by Ben Lesh
parent f47f2628e1
commit b99d7ed5bf
65 changed files with 111 additions and 258 deletions

View File

@ -39,6 +39,7 @@ load("@build_bazel_rules_nodejs//:defs.bzl", "nodejs_binary", "rollup_bundle")
rollup_bundle(
name = "bundle",
entry_point = "src/main",
node_modules = "//:node_modules",
deps = ["//src"],
)
@ -51,13 +52,13 @@ genrule(
cmd = "cp $< $@",
)
nodejs_binary(
load("@build_bazel_rules_nodejs//:defs.bzl", "http_server")
http_server(
name = "prodserver",
data = [
"index.html",
":bundle",
":zone.js",
],
entry_point = "http-server/bin/http-server",
templated_args = ["src"],
)

View File

@ -24,6 +24,7 @@ ng_module(
ng_package(
name = "npm_package",
entry_point = "src/hello-world/index.js",
node_modules = "//:node_modules",
deps = [":hello-world"],
)