Adapt to usage of aspect_rules_* Change-Id: I6c4b28d26a78a00dda18ec6e499f7a7f42388079
diff --git a/web/BUILD b/web/BUILD index 39c30a2..3a3f0580 100644 --- a/web/BUILD +++ b/web/BUILD
@@ -1,6 +1,6 @@ -load("//tools/bzl:js.bzl", "gerrit_js_bundle") +load("@aspect_rules_ts//ts:defs.bzl", "ts_config", "ts_project") +load("@com_googlesource_gerrit_bazlets//js:defs.bzl", "gerrit_js_bundle") load("//tools/js:eslint.bzl", "plugin_eslint") -load("@npm//@bazel/typescript:index.bzl", "ts_config", "ts_project") package(default_visibility = [":visibility"]) @@ -13,7 +13,7 @@ name = "tsconfig", src = "tsconfig.json", deps = [ - "//plugins:tsconfig-plugins-base.json", + "//plugins:tsconfig-plugins-base", ], ) @@ -22,12 +22,9 @@ srcs = glob(["*.ts"]), incremental = True, out_dir = "_bazel_ts_out", - supports_workers = True, - tsc = "//tools/node_tools:tsc-bin", tsconfig = ":tsconfig", deps = [ - "@plugins_npm//@gerritcodereview/typescript-api", - "@plugins_npm//lit", + "//plugins:node_modules", ], )