From 96aa615c81b0d075a0f7bdff992206e670095ee1 Mon Sep 17 00:00:00 2001 From: Daniel Sogl Date: Fri, 3 Jun 2022 17:57:34 +0000 Subject: [PATCH] reset changed compiler options --- scripts/build/ngx.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/scripts/build/ngx.ts b/scripts/build/ngx.ts index 605256fb5..eaf9829a3 100644 --- a/scripts/build/ngx.ts +++ b/scripts/build/ngx.ts @@ -15,14 +15,13 @@ export function getProgram(rootNames: string[] = createSourceFiles()) { const options: CompilerOptions = clone(COMPILER_OPTIONS); options.basePath = ROOT; options.moduleResolution = ModuleResolutionKind.NodeJs; - options.module = ModuleKind.ES2020; - options.target = ScriptTarget.ES2015; - options.lib = ['dom', 'es2018']; + options.module = ModuleKind.ES2015; + options.target = ScriptTarget.ES5; + options.lib = ['dom', 'es2017']; options.inlineSourceMap = true; options.importHelpers = true; options.inlineSources = true; options.enableIvy = false; - options.compilationMode = 'partial'; delete options.baseUrl;