diff --git a/scripts/build/ngx.ts b/scripts/build/ngx.ts index 849998b1e..e6a88ba1d 100644 --- a/scripts/build/ngx.ts +++ b/scripts/build/ngx.ts @@ -21,7 +21,9 @@ export function getProgram(rootNames: string[] = createSourceFiles()) { options.inlineSourceMap = true; options.importHelpers = true; options.inlineSources = true; - options.enableIvy = true; + options.enableIvy = false; + options.genDir = 'aot'; + options.compilationMode = 'partial'; delete options.baseUrl;