File tree 2 files changed +8
-3
lines changed
packages/angular_devkit/build_angular/src
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -98,6 +98,14 @@ export default custom<AngularCustomOptions>(() => {
98
98
const options : Record < string , unknown > = {
99
99
...baseOptions ,
100
100
...loaderOptions ,
101
+ cacheIdentifier : JSON . stringify ( {
102
+ buildAngular : require ( '../../package.json' ) . version ,
103
+ forceAsyncTransformation,
104
+ forceES5,
105
+ shouldLink,
106
+ baseOptions,
107
+ loaderOptions,
108
+ } ) ,
101
109
} ;
102
110
103
111
// Skip babel processing if no actions are needed
Original file line number Diff line number Diff line change @@ -535,9 +535,6 @@ export function getCommonConfig(wco: WebpackConfigOptions): Configuration {
535
535
loader : require . resolve ( '../../babel/webpack-loader' ) ,
536
536
options : {
537
537
cacheDirectory : findCachePath ( 'babel-webpack' ) ,
538
- cacheIdentifier : JSON . stringify ( {
539
- buildAngular : require ( '../../../package.json' ) . version ,
540
- } ) ,
541
538
scriptTarget : wco . scriptTarget ,
542
539
} ,
543
540
} ,
You can’t perform that action at this time.
0 commit comments