diff --git a/web/vite.config.ts b/web/vite.config.ts
index d6663e0d..2aed5de1 100644
--- a/web/vite.config.ts
+++ b/web/vite.config.ts
@@ -6,6 +6,7 @@ export default defineConfig({
         sveltekit()
     ],
     build: {
+        target: "esnext",
         rollupOptions: {
             output: {
                 manualChunks: (id) => {