HomePhabricator
Diffusion Comm 814966ac416b

[web-db] copy `sql-wasm.wasm` from node modules to `dist`

Description

[web-db] copy sql-wasm.wasm from node modules to dist

Summary:
In Addition to sql.js library we need to load .wasm file.

Should be accessible via:

  • http://localhost:3000/comm/compiled/sql-wasm.wasm in dev
  • https://web.comm.app/compiled in prod]

Depends on D6981

Test Plan: Check if file can be accessed

Reviewers: michal, tomek, atul, ashoat

Reviewed By: ashoat

Subscribers: ashoat, atul

Differential Revision: https://phab.comm.dev/D6989

Details

Provenance
kamilAuthored on Mar 6 2023, 4:02 AM
Reviewer
ashoat
Differential Revision
D6989: [web-db] copy `sql-wasm.wasm` from node modules to `dist`
Parents
rCOMM9d60536f0d8d: [web-db] add `sql.js` dependency
Branches
Unknown
Tags
Unknown