Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ build:remote --host_platform=@npm//@angular/build-tooling/bazel/remote-execution
build:remote --platforms=@npm//@angular/build-tooling/bazel/remote-execution:platform_with_network

# Set remote caching settings
build:remote --remote_accept_cached=true
build:remote --remote_accept_cached=false

# Force remote executions to consider the entire run as linux.
# This is required for OSX cross-platform RBE.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
os: [windows-latest]
node: [22]
subset: [npm, esbuild]
shard: [0, 1, 2, 3, 4, 5]
Expand Down
6 changes: 5 additions & 1 deletion packages/angular/ssr/third_party/critters/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ package(default_visibility = ["//visibility:public"])
esbuild(
name = "bundled_critters",
config = ":esbuild_config",
entry_point = "@npm//:node_modules/critters/dist/critters.mjs",
# We should be able to use "@npm//:node_modules/critters/dist/critters.mjs" as entry_point and avoid having to create a file.
# But this causes a lot of flakes on Windows due to the linker.
# [link_node_modules.js] An error has been reported: [Error: ENOENT: no such file or directory,
# unlink 'C:\users\runneradmin\_bazel_runneradmin\whf6gbwo\execroot\angular_cli\node_modules']
entry_point = ":index.mjs",
metafile = True,
splitting = True,
deps = [
Expand Down
9 changes: 9 additions & 0 deletions packages/angular/ssr/third_party/critters/index.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/**
* @license
* Copyright Google LLC All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/

export { default } from 'critters';
Loading