electric-sql / pglite

Lightweight WASM Postgres with real-time, reactive bindings.
https://pglite.dev
Apache License 2.0
8.36k stars 165 forks source link

Update bundle-wasm.ts #30

Closed ganeshwhere closed 6 months ago

ganeshwhere commented 7 months ago

I added error handling to the script, to handle any errors that might occur during file operations.

ganeshwhere commented 7 months ago

I used the Promise.all method to copy the files in parallel, since it can be faster than copying the files sequentially.

samwillis commented 6 months ago

Hey, As this introduces a couple of dependancies for want is a very short build script I'm not going to merge it for now. Thanks though!