rust-webwasm/game-of-life/www/js/bootstrap.js
2024-01-09 19:43:37 -08:00

6 lines
277 B
JavaScript

// 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("./main.js")
.catch(e => console.error("Error importing `main.js`:", e));