isomorphic-rust/minimal/static/app_loader.js

8 lines
223 B
JavaScript
Raw Normal View History

2018-09-08 23:38:34 -04:00
const app = import("./rust_webpack")
app.then(module => {
2018-08-25 18:18:42 -04:00
console.log("Finished resolving application bundle")
2018-09-08 23:38:34 -04:00
module.run()
2018-08-25 18:18:42 -04:00
}, (e) => {
console.log("Unable to resolve application bundle: ")
console.log(e)
})