Open eightfivelabs opened 4 years ago
Hello, If you want a demo of how to use sql.js with webpack, have a look at https://github.com/sql-js/react-sqljs-demo
Hello, If you want a demo of how to use sql.js with webpack, have a look at https://github.com/sql-js/react-sqljs-demo
Thanks @lovasoa, but unfortunately hasn't helped in my situation.
Hi there,
I am using electron-webpack to pack sql.js into an electron app, but getting the below errors. The first error appears to have an issue with the
sql-wasm.wasm
file.The second error is because electron-webpack seems to want to still load the
sql-wasm.wasm
file fromnode_modules
despite being copied over tojs/sql-wasm.wasm
output already.Any thoughts would be appreciated. The sample repo is at https://github.com/eightfivelabs/electron-svelte-typeorm-typescript