Restructuring into multiple crates and projects
This commit is contained in:
5
hm-asm-web/demo/bootstrap.js
vendored
Normal file
5
hm-asm-web/demo/bootstrap.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
// A dependency graph that contains any wasm must all be imported
|
||||
// asynchronously. This `bootstrap.js` file does the single async import, so
|
||||
// that no one else needs to worry about it again.
|
||||
import("./index.js")
|
||||
.catch(e => console.error("Error importing `index.js`:", e));
|
||||
Reference in New Issue
Block a user