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 {
61
61
mainPath ?: string ;
62
62
skipCodeGeneration ?: boolean ;
63
63
hostReplacementPaths ?: { [ path : string ] : string } ;
64
+ forkTypeChecker ?: boolean ;
64
65
// TODO: remove singleFileIncludes for 2.0, this is just to support old projects that did not
65
66
// include 'polyfills.ts' in `tsconfig.spec.json'.
66
67
singleFileIncludes ?: string [ ] ;
@@ -242,6 +243,11 @@ export class AngularCompilerPlugin {
242
243
options . missingTranslation as 'error' | 'warning' | 'ignore' ;
243
244
}
244
245
246
+ // Process forked type checker options.
247
+ if ( options . forkTypeChecker !== undefined ) {
248
+ this . _forkTypeChecker = options . forkTypeChecker ;
249
+ }
250
+
245
251
// Create the webpack compiler host.
246
252
const webpackCompilerHost = new WebpackCompilerHost ( this . _compilerOptions , this . _basePath ) ;
247
253
webpackCompilerHost . enableCaching ( ) ;
You can’t perform that action at this time.
0 commit comments