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 {
207207 // We need to temporarily patch the CodeGenerator until either it's patched or allows us
208208 // to pass in our own ReflectorHost.
209209 patchReflectorHost ( codeGenerator ) ;
210- this . _donePromise = codeGenerator . codegen ( )
210+ this . _donePromise = codeGenerator . codegen ( { transitiveModules : true } )
211211 . then ( ( ) => {
212212 // Create a new Program, based on the old one. This will trigger a resolution of all
213213 // transitive modules, which include files that might just have been generated.
@@ -239,7 +239,7 @@ export class AotPlugin {
239239 return lazyRoutes ;
240240 } , { } ) ;
241241 } )
242- . then ( ( ) => cb ( ) , ( err ) => cb ( err ) ) ;
242+ . then ( ( ) => cb ( ) , ( err : any ) => cb ( err ) ) ;
243243 }
244244
245245 private _resolveModule ( module : ModuleRoute , containingFile : string ) {
You can’t perform that action at this time.
0 commit comments