aboutsummaryrefslogtreecommitdiff
path: root/www/bootstrap.js
diff options
context:
space:
mode:
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));