Skip to content

Commit

Permalink
fix: correct build target
Browse files Browse the repository at this point in the history
  • Loading branch information
shezard committed Feb 10, 2024
1 parent 363eef1 commit 5e320a1
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,16 @@ import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vite';

export default defineConfig({
plugins: [sveltekit()]
plugins: [sveltekit()],
build: {
target: "es2022"
},
esbuild: {
target: "es2022"
},
optimizeDeps: {
esbuildOptions: {
target: "esnext",
},
},
});

0 comments on commit 5e320a1

Please sign in to comment.