lnsocket icon indicating copy to clipboard operation
lnsocket copied to clipboard

Webpack+React build

Open jb55 opened this issue 2 years ago • 7 comments

Webpack does static analysis on the emscripten module and complains when it sees nodejs 'require' statements, even if they are never called in practice.

It also breaks when trying to pack the wasm module. If we get a local webpack build working and distribute that to npm, then lnsocket should work out of the box for React projects.

jb55 avatar Apr 09 '22 18:04 jb55