File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
packages/@ngtools/webpack/src Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -61,6 +61,7 @@ export interface AngularCompilerPluginOptions {
6161 mainPath ?: string ;
6262 skipCodeGeneration ?: boolean ;
6363 hostReplacementPaths ?: { [ path : string ] : string } ;
64+ forkTypeChecker ?: boolean ;
6465 // TODO: remove singleFileIncludes for 2.0, this is just to support old projects that did not
6566 // include 'polyfills.ts' in `tsconfig.spec.json'.
6667 singleFileIncludes ?: string [ ] ;
@@ -242,6 +243,11 @@ export class AngularCompilerPlugin {
242243 options . missingTranslation as 'error' | 'warning' | 'ignore' ;
243244 }
244245
246+ // Process forked type checker options.
247+ if ( options . forkTypeChecker !== undefined ) {
248+ this . _forkTypeChecker = options . forkTypeChecker ;
249+ }
250+
245251 // Create the webpack compiler host.
246252 const webpackCompilerHost = new WebpackCompilerHost ( this . _compilerOptions , this . _basePath ) ;
247253 webpackCompilerHost . enableCaching ( ) ;
You can’t perform that action at this time.
0 commit comments