tursodatabase / libsql-client-ts

TypeScript/JavaScript client API for libSQL
https://docs.turso.tech/sdk/ts/quickstart
MIT License
226 stars 32 forks source link

libsql-client-wasm: Fix bundled dependencies #168

Closed penberg closed 8 months ago

penberg commented 8 months ago

As it turns out, npm does not actually bundle dependencies if you're using workspace...

https://github.com/npm/cli/issues/3466

Let's work around that by manually copying node_modules in pre-build step.

d3lm commented 8 months ago

Ay, what a bummer 🤦‍♂️

d3lm commented 8 months ago

Luckily, @libsql/libsql-wasm-experimental doesn't depend on any other dependencies so bundling this one is an easy one.