From afcfc05382c48af207f6884c7d542cfb3ad4e7fb Mon Sep 17 00:00:00 2001 From: Max Bruckner Date: Wed, 22 Sep 2021 23:59:48 +0200 Subject: [PATCH] Fix vite problem with mixed typescript imports See https://github.com/vitejs/vite/issues/4581 And https://github.com/evanw/esbuild/issues/1525 This lead to npm run watch not working when upgrading svelte kit which in turn updated vite to 2.5 --- communityvi-frontend/tsconfig.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/communityvi-frontend/tsconfig.json b/communityvi-frontend/tsconfig.json index 96eafc39..914f08a1 100644 --- a/communityvi-frontend/tsconfig.json +++ b/communityvi-frontend/tsconfig.json @@ -6,7 +6,7 @@ "module": "es2020", "lib": ["es2020"], "target": "es2019", - "importsNotUsedAsValues": "error", + "importsNotUsedAsValues": "remove", "isolatedModules": true, "resolveJsonModule": true, "sourceMap": true,