rust-webwasm/game-of-life/www/js/bootstrap.js

6 lines
277 B
JavaScript
Raw Normal View History

2024-01-09 19:43:11 -08:00
// 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));