Skip to content

Commit e3d7455

Browse files
committed
fix(docs-infra): remove duplicate event image asset entries
The v21 and v22 event images were listed as separate asset entries (`src/assets/images/v21-event` and `src/assets/images/v22-event`) next to `src/assets`, which already contains them. They were added when the images were moved into their own Bazel packages, but the Bazel targets in `APPLICATION_FILES` are what place the files under `src/assets`; the extra entries only copy the same files to the same output location (`assets/images/v2x-event/`) a second time. The unit-test builder reuses these assets and copies them into the test output. Since the first copy is read-only in the Bazel sandbox, the duplicate copy fails with `EACCES: permission denied, copyfile`, which breaks running `//adev:test` locally. Remove the redundant entries. The production build output is unchanged (all non-HTML files, including the event images, are byte-identical) and `//adev:test` runs again without errors.
1 parent 2ce1826 commit e3d7455

1 file changed

Lines changed: 1 addition & 8 deletions

File tree

‎adev/angular.json‎

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,7 @@
2626
"polyfills": [],
2727
"tsConfig": "tsconfig.app.json",
2828
"inlineStyleLanguage": "scss",
29-
"assets": [
30-
"src/favicon.ico",
31-
"src/robots.txt",
32-
"src/llms.txt",
33-
"src/assets",
34-
"src/assets/images/v21-event",
35-
"src/assets/images/v22-event"
36-
],
29+
"assets": ["src/favicon.ico", "src/robots.txt", "src/llms.txt", "src/assets"],
3730
"styles": ["@angular/docs/styles/global-styles.scss", "./src/local-styles.scss"],
3831
"scripts": [],
3932
"webWorkerTsConfig": "tsconfig.worker.json",

0 commit comments

Comments
 (0)