
rules_nodejs maintainers suggest to upgrade to upcoming rules_nodejs version 2.0.0. The new version has breaking change how loading of the external repositories work. New approach makes WORKSPACE ordering easier since we won’t need rules_nodejs install_bazel_dependencies anymore. ts_setup_workspace has been a no-op since 1.0 when requirejs was vendored for ts_devserver. Therefore ts_setup_workspace is a no-op and can be removed. Bug: Issue 13090 Change-Id: If48daa15ca31627129eab7b865971124792336cc
14 lines
310 B
Python
14 lines
310 B
Python
load("@npm//@bazel/typescript:index.bzl", "ts_library")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
ts_library(
|
|
name = "utils",
|
|
srcs = glob(["*.ts"]),
|
|
node_modules = "@tools_npm//:node_modules",
|
|
tsconfig = "tsconfig.json",
|
|
deps = [
|
|
"@tools_npm//:node_modules",
|
|
],
|
|
)
|