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
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,10 @@ This is a template repository demonstrating the use of sql.js with create-react-
4
4
5
5
The only differences with a traditional create-react-app application are :
6
6
- The usage of [craco](https://github.com/gsoft-inc/craco) to allow providing a custom [webpack](https://webpack.js.org/) configuration
7
-
- a custom [`craco.config.js`](./craco.config.js) to copy the wasm module from sql.js to the distributed assets
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`
7
+
- a small custom webpack configuration in[`craco.config.js`](./craco.config.js) to copy the wasm module from sql.js to the distributed assets
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 error: `TypeError: Response has unsupported MIME type`
10
10
11
11
See [`src/App.js`](./src/App.js) for the code.
12
12
13
-
### [view the live demo](https://sqljs-react-demo.netlify.com/)
13
+
### [view the live demo](https://sqljs-react-demo.netlify.app/)
0 commit comments