Skip to content

Commit

Permalink
Merge pull request #132 from OneBusAway/fix/top-level-await-set-to-true
Browse files Browse the repository at this point in the history
feat: Enable top-level await support in esbuild configuration
  • Loading branch information
aaronbrethorst authored Nov 23, 2024
2 parents e8f0216 + 39fe1d6 commit f60a862
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 f60a862

Please sign in to comment.