Skip to content

Commit

Permalink
docs: update wasm usage (#5620)
Browse files Browse the repository at this point in the history
Browser usage updated.
  • Loading branch information
pavinthan committed Mar 11, 2020
1 parent 6e598c1 commit 0adbe5c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/supported-platforms.md
Expand Up @@ -26,11 +26,13 @@ plugins: [
result.request = result.request.replace(/typeorm/, "typeorm/browser");
}),
new webpack.ProvidePlugin({
'window.SQL': 'sql.js/js/sql.js'
'window.SQL': 'sql.js/dist/sql-wasm.js'
})
]
```

and make sure (sql-wasm.wasm)[https://github.com/sql-js/sql.js/blob/master/README.md#downloadingusing] file exists in your public path.

**Example of configuration**

```typescript
Expand Down

0 comments on commit 0adbe5c

Please sign in to comment.