mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
bfc8bdb9c8
Re-enables the Bazel integration test that we have disabled as part of the APF v13 changes. Since there are no UMD files anymore, the Karma tests no longer worked. Similarly, the Angular linker had to run for building the production bundle. PR Close #44061
27 lines
859 B
Python
27 lines
859 B
Python
load("@build_bazel_rules_nodejs//:index.bzl", "nodejs_binary")
|
|
|
|
package(default_visibility = ["//visibility:public"])
|
|
|
|
# Custom ts_library compiler that runs tsc_wrapped with angular/compiler-cli statically linked
|
|
# This can be used with worker mode because we don't need the linker at runtime to make
|
|
# the angular plugin loadable
|
|
# Just a clone of @npm//@bazel/typescript/bin:tsc_wrapped with added deps
|
|
nodejs_binary(
|
|
name = "tsc_wrapped_with_angular",
|
|
data = [
|
|
"@npm//@angular/compiler-cli",
|
|
"@npm//@bazel/typescript",
|
|
],
|
|
entry_point = "@npm//:node_modules/@bazel/typescript/internal/tsc_wrapped/tsc_wrapped.js",
|
|
visibility = ["//:__subpackages__"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "rxjs_umd_files",
|
|
srcs = [
|
|
# do not sort
|
|
"@npm//:node_modules/rxjs/bundles/rxjs.umd.js",
|
|
":rxjs_shims.js",
|
|
],
|
|
)
|