Skip to content

Commit

Permalink
build: update vite configuration to newest preset
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkolenz committed Dec 18, 2022
1 parent 5d6ab3a commit 0955544
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
3 changes: 1 addition & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.node.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"composite": true,
"module": "ESNext",
"moduleResolution": "node",
"moduleResolution": "Node",
"allowSyntheticDefaultImports": true
},
"include": ["vite.config.ts"]
Expand Down
6 changes: 0 additions & 6 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@ export default defineConfig({
}),
],
build: {
target: "es2020",
chunkSizeWarningLimit: 5000,
},
optimizeDeps: {
esbuildOptions: {
target: "es2020",
},
},
});

0 comments on commit 0955544

Please sign in to comment.