Skip to content

Commit c0fd6d8

Browse files
fix: add missing vite plugins for wasm and top-level await
1 parent 85145bb commit c0fd6d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vite.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import topLevelAwait from 'vite-plugin-top-level-await'
66

77
// https://vitejs.dev/config/
88
export default defineConfig(({ command }) => ({
9-
plugins: [react()],
9+
plugins: [react(), wasm(), topLevelAwait()],
1010
base: '/',
1111
server: {
1212
headers: {

0 commit comments

Comments
 (0)