isomorphic-rust/yew/static/app_loader.js

8 lines
258 B
JavaScript
Raw Normal View History

2018-08-26 00:59:17 -04:00
// 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)
})