diff --git a/tsconfig.json b/tsconfig.json index 11c8c5b..3d0a51a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,11 +5,10 @@ "lib": ["DOM", "DOM.Iterable", "ESNext"], "allowJs": false, "skipLibCheck": true, - "esModuleInterop": true, + "esModuleInterop": false, "allowSyntheticDefaultImports": true, "strict": true, "forceConsistentCasingInFileNames": true, - "noFallthroughCasesInSwitch": true, "module": "ESNext", "moduleResolution": "Node", "resolveJsonModule": true, diff --git a/tsconfig.node.json b/tsconfig.node.json index e5cd629..9d31e2a 100644 --- a/tsconfig.node.json +++ b/tsconfig.node.json @@ -2,7 +2,7 @@ "compilerOptions": { "composite": true, "module": "ESNext", - "moduleResolution": "node", + "moduleResolution": "Node", "allowSyntheticDefaultImports": true }, "include": ["vite.config.ts"] diff --git a/vite.config.ts b/vite.config.ts index d6767c5..ed2d47e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -13,12 +13,6 @@ export default defineConfig({ }), ], build: { - target: "es2020", chunkSizeWarningLimit: 5000, }, - optimizeDeps: { - esbuildOptions: { - target: "es2020", - }, - }, });