build: add config_env_vars = ["compile"] to ngc-wrapped (#26471)
PR Close #26471
This commit is contained in:
parent
5952775a03
commit
83dc3c0ee0
|
@ -50,6 +50,7 @@ load("@build_bazel_rules_nodejs//:defs.bzl", "nodejs_binary")
|
|||
# set which is required to support the call to `global.gc()`.
|
||||
nodejs_binary(
|
||||
name = "@angular/bazel/ngc-wrapped",
|
||||
configuration_env_vars = ["compile"],
|
||||
data = ["@npm//@angular/bazel"],
|
||||
entry_point = "@angular/bazel/src/ngc-wrapped/index.js",
|
||||
install_source_map_support = False,
|
||||
|
|
|
@ -29,6 +29,7 @@ ts_library(
|
|||
|
||||
nodejs_binary(
|
||||
name = "ngc-wrapped",
|
||||
configuration_env_vars = ["compile"],
|
||||
data = [
|
||||
":ngc_lib",
|
||||
"@build_bazel_rules_typescript//third_party/github.com/bazelbuild/bazel/src/main/protobuf:worker_protocol.proto",
|
||||
|
|
|
@ -61,7 +61,4 @@ buildTargetPackages "$BAZEL_TARGETS" "dist/packages-dist" "legacy" "Production"
|
|||
|| "${CIRCLE_PROJECT_REPONAME-}" != "angular"
|
||||
]] && exit 0
|
||||
|
||||
# A clean is needed since build artifacts from previous build can break the following build
|
||||
bazel clean
|
||||
buildTargetPackages "$BAZEL_TARGETS" "dist/packages-dist-ivy-local" "local" "Ivy AOT"
|
||||
|
||||
|
|
Loading…
Reference in New Issue