Upgraded to bazel 3.7.2 and rules_nodejs 2.3.2
Change-Id: If53686f2475c4f367909de577b4da95de8e16768
(cherry picked from commit 436c60a1f65d3c7dbdbd664c7b0e65f5362ef24d)
diff --git a/apps/inbandtelemetry/intApp-gui2/intApp/BUILD.bazel b/apps/inbandtelemetry/intApp-gui2/intApp/BUILD.bazel
index aecef14..dd62c08 100644
--- a/apps/inbandtelemetry/intApp-gui2/intApp/BUILD.bazel
+++ b/apps/inbandtelemetry/intApp-gui2/intApp/BUILD.bazel
@@ -14,11 +14,11 @@
limitations under the License.
"""
+load("@npm//@bazel/typescript:index.bzl", "ts_library")
+
package(default_visibility = ["//:__subpackages__"])
-load("@npm_angular_bazel//:index.bzl", "ng_module")
-
-ng_module(
+ts_library(
name = "intapp-gui2-lib",
srcs = glob(
include = [
@@ -28,14 +28,18 @@
"**/*.spec.ts",
],
),
- assets = glob([
+ angular_assets = [
+ "//web/gui2-fw-lib:extra_css",
+ ] + glob([
"**/*.css",
"**/*.html",
]),
tsconfig = "//web/gui2:tsconfig.json",
+ use_angular_plugin = True,
deps = [
"//web/gui2-fw-lib",
"@npm//@angular/animations",
+ "@npm//@angular/common",
"@npm//@angular/core",
"@npm//@angular/forms",
"@npm//@angular/platform-browser-dynamic",