Skip to content

Commit af174a0

Browse files
committed
fix(@angular-devkit/build-angular): pass in ContextElementDependency to ngtools/webpack
Should go in only together with "feat(@ngtools/webpack): allow passing in the right ContextElementDependency class".
1 parent 1e49f7d commit af174a0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs

‎packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs/typescript.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ function _createAotPlugin(
7272
additionalLazyModules,
7373
nameLazyFiles: buildOptions.namedChunks,
7474
forkTypeChecker: buildOptions.forkTypeChecker,
75+
contextElementDependencyConstructor: require('webpack/lib/dependencies/ContextElementDependency'),
7576
...options,
7677
host,
7778
};

0 commit comments

Comments
 (0)