diff --git a/vite.config.ts b/vite.config.ts index f0c46b8..8f7f87c 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -15,6 +15,12 @@ const host = process.env.TAURI_DEV_HOST; // https://vitejs.dev/config/ export default defineConfig(async () => ({ + esbuild: { + supported: { + "top-level-await": true, + }, + }, + plugins: [ svgr(),