isomorphic-rust/minimal/static/app_loader.js

8 lines
223 B
JavaScript

const app = import("./rust_webpack")
app.then(module => {
console.log("Finished resolving application bundle")
module.run()
}, (e) => {
console.log("Unable to resolve application bundle: ")
console.log(e)
})