Closed penberg closed 8 months ago
As it turns out, npm does not actually bundle dependencies if you're using workspace...
npm
https://github.com/npm/cli/issues/3466
Let's work around that by manually copying node_modules in pre-build step.
node_modules
Ay, what a bummer 🤦♂️
Luckily, @libsql/libsql-wasm-experimental doesn't depend on any other dependencies so bundling this one is an easy one.
@libsql/libsql-wasm-experimental
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.