File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ export class AotPlugin {
207
207
// We need to temporarily patch the CodeGenerator until either it's patched or allows us
208
208
// to pass in our own ReflectorHost.
209
209
patchReflectorHost ( codeGenerator ) ;
210
- this . _donePromise = codeGenerator . codegen ( )
210
+ this . _donePromise = codeGenerator . codegen ( { transitiveModules : true } )
211
211
. then ( ( ) => {
212
212
// Create a new Program, based on the old one. This will trigger a resolution of all
213
213
// transitive modules, which include files that might just have been generated.
@@ -239,7 +239,7 @@ export class AotPlugin {
239
239
return lazyRoutes ;
240
240
} , { } ) ;
241
241
} )
242
- . then ( ( ) => cb ( ) , ( err ) => cb ( err ) ) ;
242
+ . then ( ( ) => cb ( ) , ( err : any ) => cb ( err ) ) ;
243
243
}
244
244
245
245
private _resolveModule ( module : ModuleRoute , containingFile : string ) {
You can’t perform that action at this time.
0 commit comments