Skip to content

Commit 786be99

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 8f05313 commit 786be99

File tree

1 file changed

+1
-0
lines changed
  • packages/angular_devkit/build_angular/src/angular-cli-files/models/webpack-configs

1 file changed

+1
-0
lines changed

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

+1
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)