From 0e39dfecbafba0bc889c010794ac0bba4275d91e Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Wed, 6 Oct 2021 13:33:35 +0200 Subject: [PATCH] fix(core): update --- ts/tsbuild.classes.compiler.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ts/tsbuild.classes.compiler.ts b/ts/tsbuild.classes.compiler.ts index ef691a5..2088b80 100644 --- a/ts/tsbuild.classes.compiler.ts +++ b/ts/tsbuild.classes.compiler.ts @@ -17,7 +17,8 @@ export const compilerOptionsDefault: CompilerOptions = { lib: ['lib.es2017.d.ts'], noImplicitAny: false, esModuleInterop: true, - target: plugins.typescript.ScriptTarget.ES2017 + target: plugins.typescript.ScriptTarget.ES2017, + importsNotUsedAsValues: plugins.typescript.ImportsNotUsedAsValues.Preserve }; export const compilerOptionsWebDefault: CompilerOptions = {