fix(ivy): do not eagerly JIT compile modules (#24234)

PR Close #24234
This commit is contained in:
Victor Berchet 2018-05-31 14:18:59 -07:00
parent 81c13e2f86
commit 5f178f3a5a

View File

@ -26,7 +26,6 @@ export function compileNgModule(type: Type<any>, ngModule: NgModule): void {
exports: flatten(ngModule.exports || EMPTY_ARRAY).map(expandModuleWithProviders).map(wrap), exports: flatten(ngModule.exports || EMPTY_ARRAY).map(expandModuleWithProviders).map(wrap),
emitInline: true, emitInline: true,
}; };
const res = compileIvyNgModule(meta);
// Compute transitiveCompileScope // Compute transitiveCompileScope
const transitiveCompileScope = { const transitiveCompileScope = {