We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
outputPath
1 parent f3b2dc4 commit 5219c05Copy full SHA for 5219c05
packages/angular_devkit/build_angular/src/webpack/configs/common.ts
@@ -545,7 +545,14 @@ function getCacheSettings(
545
.update(packageVersion)
546
.update(wco.projectRoot)
547
.update(JSON.stringify(wco.tsConfig))
548
- .update(JSON.stringify(wco.buildOptions))
+ .update(
549
+ JSON.stringify({
550
+ ...wco.buildOptions,
551
+ // Needed because outputPath changes on every build when using i18n extraction
552
+ // https://github.com/angular/angular-cli/blob/736a5f89deaca85f487b78aec9ff66d4118ceb6a/packages/angular_devkit/build_angular/src/utils/i18n-options.ts#L264-L265
553
+ outputPath: undefined,
554
+ }),
555
+ )
556
.update(supportedBrowsers.join(''))
557
.digest('hex'),
558
};
0 commit comments