phiresky / sql.js-httpvfs

Hosting read-only SQLite databases on static file hosters like Github Pages
Apache License 2.0
3.47k stars 105 forks source link

do not parse `sql-wasm.js` #47

Closed mmomtchev closed 1 year ago

mmomtchev commented 1 year ago

Do not parse sql-wasm.js which does not contain imports, but has conditionals of the type if (typeof module === 'undefined') which can be broken by webpack

46

https://github.com/sql-js/sql.js/issues/406

mmomtchev commented 1 year ago

This break stuff

mmomtchev commented 1 year ago

Breakage turned out to be unrelated, submitting a second PR