blob: aaab7047bcb5fb385db081cd1af84fd42d55305c [file] [log] [blame]
load("@build_bazel_rules_typescript//:defs.bzl", "ts_devserver", "ts_library")
ts_library(
name = "app",
srcs = ["app.ts"],
)
ts_devserver(
name = "devserver",
# We'll collect all the devmode JS sources from these TypeScript libraries
deps = [":app"],
# This is the path we'll request from the browser, see index.html
serving_path = "/bundle.js",
# The devserver can serve our static files too
static_files = ["index.html"],
)
ts_library(
name = "e2e",
testonly = 1,
srcs = ["app_e2e_test.ts"],
)