Skip to content

Commit 5f94271

Browse files
devversionatscott
authored andcommitted
build: account for app_bundle rule location change (angular#46642)
The `app_bundle` rule from the shared dev-infra package is no longer in the benchmarking folder, but instead is part of the general Bazel rules exposed by `dev-infra`. This commit accounts for this location change. PR Close angular#46642
1 parent 616c8a8 commit 5f94271

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tools/defaults.bzl

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ load("@npm//@bazel/terser:index.bzl", "terser_minified")
99
load("@npm//@bazel/protractor:index.bzl", _protractor_web_test_suite = "protractor_web_test_suite")
1010
load("@npm//typescript:index.bzl", "tsc")
1111
load("//packages/bazel:index.bzl", _ng_module = "ng_module", _ng_package = "ng_package")
12-
load("@npm//@angular/dev-infra-private/bazel/benchmark/app_bundling:index.bzl", _app_bundle = "app_bundle")
12+
load("@npm//@angular/dev-infra-private/bazel/app-bundling:index.bzl", _app_bundle = "app_bundle")
1313
load("@npm//@angular/dev-infra-private/bazel/http-server:index.bzl", _http_server = "http_server")
1414
load("@npm//@angular/dev-infra-private/bazel/karma:index.bzl", _karma_web_test = "karma_web_test", _karma_web_test_suite = "karma_web_test_suite")
1515
load("@npm//@angular/dev-infra-private/bazel/api-golden:index.bzl", _api_golden_test = "api_golden_test", _api_golden_test_npm_package = "api_golden_test_npm_package")

tools/postinstall-patches.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,8 @@ captureNgDevPatches(
9292
// Patches for the app bundling
9393
captureNgDevPatches(
9494
[
95-
'node_modules/@angular/dev-infra-private/bazel/benchmark/app_bundling/index.bzl',
96-
'node_modules/@angular/dev-infra-private/bazel/benchmark/app_bundling/esbuild.config-tmpl.mjs',
95+
'node_modules/@angular/dev-infra-private/bazel/app-bundling/index.bzl',
96+
'node_modules/@angular/dev-infra-private/bazel/app-bundling/esbuild.config-tmpl.mjs',
9797
],
9898
[
9999
// The app bundle config accesses the linker entry-point as well, so we need

0 commit comments

Comments
 (0)