Skip to content

Commit

Permalink
Add: Top level await
Browse files Browse the repository at this point in the history
  • Loading branch information
clearfeld committed Dec 31, 2024
1 parent 2673057 commit a7a7d48
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(),

Expand Down

0 comments on commit a7a7d48

Please sign in to comment.