mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-25 18:51:35 +00:00
Add #[wasm_bindgen(start)], plugins to webpack config, Update deps
This commit is contained in:
@ -63,7 +63,7 @@ fn app(name: &str) {
|
||||
}
|
||||
|
||||
/// Entry point into the program from JavaScript
|
||||
#[wasm_bindgen]
|
||||
#[wasm_bindgen(start)]
|
||||
pub fn run() {
|
||||
console_error_panic_hook::set_once();
|
||||
app("todos-wasmbindgen");
|
||||
|
Reference in New Issue
Block a user