isomorphic-rust/electron_yew_wasm/app/app_loader.js

8 lines
258 B
JavaScript

// We have to have a two-stage loader because WebPack says we do
const app = import("./app")
app.then(() => {
console.log("Finished resolving application bundle")
}, (e) => {
console.log("Unable to resolve application bundle: ")
console.log(e)
})