aboutsummaryrefslogtreecommitdiff
path: root/www/bootstrap.js
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-09-19 05:15:06 +0100
committerAkshay <[email protected]>2021-09-19 05:15:06 +0100
commita2e3441e6937f1769fed3e16a5f7f7135482cf97 (patch)
tree63461f8af5c026dcf8cd33d6962d7974f87baaa5 /www/bootstrap.js
Diffstat (limited to 'www/bootstrap.js')
-rw-r--r--www/bootstrap.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/www/bootstrap.js b/www/bootstrap.js
new file mode 100644
index 0000000..7934d62
--- /dev/null
+++ b/www/bootstrap.js
@@ -0,0 +1,5 @@
1// A dependency graph that contains any wasm must all be imported
2// asynchronously. This `bootstrap.js` file does the single async import, so
3// that no one else needs to worry about it again.
4import("./index.js")
5 .catch(e => console.error("Error importing `index.js`:", e));