File tree Expand file tree Collapse file tree 4 files changed +4
-8
lines changed
Expand file tree Collapse file tree 4 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 1616 "devDependencies" : {
1717 "@swc/core" : " ~1.6.0" ,
1818 "vite" : " ^5.0.12" ,
19- "vite-plugin-top-level-await" : " ^1.4.1" ,
2019 "vite-plugin-wasm" : " ^3.3.0"
2120 }
2221}
Original file line number Diff line number Diff line change 11import wasm from 'vite-plugin-wasm' ;
2- import topLevelAwait from 'vite-plugin-top-level-await' ;
32import { defineConfig } from 'vite' ;
43
54// https://vitejs.dev/config/
@@ -18,9 +17,9 @@ export default defineConfig({
1817 // https://github.com/vitejs/vite/issues/11672#issuecomment-1415820673
1918 exclude : [ '@journeyapps/wa-sqlite' , '@powersync/web' ]
2019 } ,
21- plugins : [ wasm ( ) , topLevelAwait ( ) ] ,
20+ plugins : [ wasm ( ) ] ,
2221 worker : {
2322 format : 'es' ,
24- plugins : ( ) => [ wasm ( ) , topLevelAwait ( ) ]
23+ plugins : ( ) => [ wasm ( ) ]
2524 }
2625} ) ;
Original file line number Diff line number Diff line change 1919 "@vitest/browser" : " ^3.2.4" ,
2020 "playwright" : " ^1.51.0" ,
2121 "vite" : " ^5.0.12" ,
22- "vite-plugin-top-level-await" : " ^1.4.1" ,
2322 "vite-plugin-wasm" : " ^3.3.0" ,
2423 "vitest" : " ^3.2.4"
2524 }
Original file line number Diff line number Diff line change 11import { defineConfig } from 'vite' ;
2- import topLevelAwait from 'vite-plugin-top-level-await' ;
32import wasm from 'vite-plugin-wasm' ;
43
54// https://vitejs.dev/config/
@@ -18,10 +17,10 @@ export default defineConfig({
1817 // https://github.com/vitejs/vite/issues/11672#issuecomment-1415820673
1918 exclude : [ '@journeyapps/wa-sqlite' , '@powersync/web' ]
2019 } ,
21- plugins : [ wasm ( ) , topLevelAwait ( ) ] ,
20+ plugins : [ wasm ( ) ] ,
2221 worker : {
2322 format : 'es' ,
24- plugins : ( ) => [ wasm ( ) , topLevelAwait ( ) ]
23+ plugins : ( ) => [ wasm ( ) ]
2524 } ,
2625 test : {
2726 globals : true ,
You can’t perform that action at this time.
0 commit comments