diff --git a/scripts/build/ngx.ts b/scripts/build/ngx.ts index eaf9829a3..2e8874ad4 100644 --- a/scripts/build/ngx.ts +++ b/scripts/build/ngx.ts @@ -22,6 +22,7 @@ export function getProgram(rootNames: string[] = createSourceFiles()) { options.importHelpers = true; options.inlineSources = true; options.enableIvy = false; + options.compilationMode = 'partial'; delete options.baseUrl;