You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,6 +6,8 @@ The only differences with a traditional create-react-app application are :
6
6
- The usage of [react-app-rewired](https://www.npmjs.com/package/react-app-rewired) to allow providing a custom [webpack](https://webpack.js.org/) configuration
7
7
- a custom [`config-overrides.js`](./config-overrides.js) to copy the wasm module from sql.js to the distributed assets
8
8
9
+
Note that you should make sure your server serves `.wasm` files with the right mimetype, that is: `application/wasm`. Otherwise, you'll see the following warning in the console: `TypeError: Response has unsupported MIME type`
10
+
9
11
See [`src/App.js`](./src/App.js) for the code.
10
12
11
13
### [view the live demo](https://sqljs-react-demo.netlify.com/)
0 commit comments