File tree Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Expand file tree Collapse file tree 3 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ const config: UserConfigExport = {
1010 optimizeDeps : {
1111 // Don't optimise these packages as they contain web workers and WASM files.
1212 // https://github.com/vitejs/vite/issues/11672#issuecomment-1415820673
13- exclude : [ '@journeyapps/wa-sqlite' , '@powersync/web' ]
13+ exclude : [ '@journeyapps/wa-sqlite' , '@powersync/web' ] ,
14+ include : [ 'async-mutex' , 'comlink' , 'bson' ]
1415 } ,
1516 plugins : [ wasm ( ) , topLevelAwait ( ) ] ,
1617 test : {
Original file line number Diff line number Diff line change @@ -10,7 +10,8 @@ const config: UserConfigExport = {
1010 optimizeDeps : {
1111 // Don't optimise these packages as they contain web workers and WASM files.
1212 // https://github.com/vitejs/vite/issues/11672#issuecomment-1415820673
13- exclude : [ '@journeyapps/wa-sqlite' , '@powersync/web' ]
13+ exclude : [ '@journeyapps/wa-sqlite' , '@powersync/web' ] ,
14+ include : [ 'async-mutex' , 'comlink' , 'bson' ]
1415 } ,
1516 plugins : [ wasm ( ) , topLevelAwait ( ) ] ,
1617 test : {
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ const config: UserConfigExport = {
3131 // Don't optimise these packages as they contain web workers and WASM files.
3232 // https://github.com/vitejs/vite/issues/11672#issuecomment-1415820673
3333 exclude : [ '@journeyapps/wa-sqlite' , '@powersync/web' ] ,
34- include : [ 'bson' ]
34+ include : [ 'bson' , 'comlink' ]
3535 } ,
3636 plugins : [ wasm ( ) , topLevelAwait ( ) ] ,
3737 test : {
You can’t perform that action at this time.
0 commit comments