mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-03-17 00:51:07 +08:00
reset changed compiler options
This commit is contained in:
parent
5e6ab2a6cc
commit
96aa615c81
@ -15,14 +15,13 @@ export function getProgram(rootNames: string[] = createSourceFiles()) {
|
|||||||
const options: CompilerOptions = clone(COMPILER_OPTIONS);
|
const options: CompilerOptions = clone(COMPILER_OPTIONS);
|
||||||
options.basePath = ROOT;
|
options.basePath = ROOT;
|
||||||
options.moduleResolution = ModuleResolutionKind.NodeJs;
|
options.moduleResolution = ModuleResolutionKind.NodeJs;
|
||||||
options.module = ModuleKind.ES2020;
|
options.module = ModuleKind.ES2015;
|
||||||
options.target = ScriptTarget.ES2015;
|
options.target = ScriptTarget.ES5;
|
||||||
options.lib = ['dom', 'es2018'];
|
options.lib = ['dom', 'es2017'];
|
||||||
options.inlineSourceMap = true;
|
options.inlineSourceMap = true;
|
||||||
options.importHelpers = true;
|
options.importHelpers = true;
|
||||||
options.inlineSources = true;
|
options.inlineSources = true;
|
||||||
options.enableIvy = false;
|
options.enableIvy = false;
|
||||||
options.compilationMode = 'partial';
|
|
||||||
|
|
||||||
delete options.baseUrl;
|
delete options.baseUrl;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user