From 0adbe5cc47770fe966164a773dc584544612ddf0 Mon Sep 17 00:00:00 2001 From: Pavinthan Date: Wed, 11 Mar 2020 18:08:26 +0530 Subject: [PATCH] docs: update wasm usage (#5620) Browser usage updated. --- docs/supported-platforms.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/supported-platforms.md b/docs/supported-platforms.md index 3753dbbff1..344e63f5d7 100644 --- a/docs/supported-platforms.md +++ b/docs/supported-platforms.md @@ -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