Skip to content

Commit

Permalink
feat: Enable top-level await support in esbuild configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmedhossamdev committed Nov 23, 2024
1 parent e8f0216 commit 39fe1d6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,10 @@ export default defineConfig({
plugins: [sveltekit()],
test: {
include: ['src/**/*.{test,spec}.{js,ts}']
},
esbuild: {
supported: {
'top-level-await': true
}
}
});

0 comments on commit 39fe1d6

Please sign in to comment.