Skip to content

Commit 0ae7542

Browse files
devversionatscott
authored andcommitted
build(docs-infra): disable caching of adev inside bazel (angular#55282)
Similar to `aio`, disables caching inside Bazel as it would be discarded anyway and is likely a source of slowness then. PR Close angular#55282
1 parent f828984 commit 0ae7542

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

adev/angular.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19,21 +19,15 @@
1919
"build": {
2020
"builder": "@angular-devkit/build-angular:application",
2121
"options": {
22-
"externalDependencies": [
23-
"path"
24-
],
22+
"externalDependencies": ["path"],
2523
"outputPath": "dist/angular-dev",
2624
"index": "src/index.html",
2725
"browser": "src/main.ts",
2826
"server": "src/main.server.ts",
2927
"polyfills": ["src/polyfills.ts", "zone.js"],
3028
"tsConfig": "tsconfig.app.json",
3129
"inlineStyleLanguage": "scss",
32-
"assets": [
33-
"src/favicon.ico",
34-
"src/robots.txt",
35-
"src/assets"
36-
],
30+
"assets": ["src/favicon.ico", "src/robots.txt", "src/assets"],
3731
"styles": ["@angular/docs/styles/global-styles.scss"],
3832
"scripts": [],
3933
"webWorkerTsConfig": "tsconfig.worker.json",
@@ -99,6 +93,11 @@
9993
}
10094
},
10195
"cli": {
102-
"analytics": "dca119a9-da31-47f7-a6cb-b60541037021"
96+
"analytics": "dca119a9-da31-47f7-a6cb-b60541037021",
97+
"cache": {
98+
// Disable build caching as the cache folder will just be dropped
99+
// when run under Bazel sandboxed execution.
100+
"enabled": false
101+
}
103102
}
104103
}

0 commit comments

Comments
 (0)