fix js paths
This commit is contained in:
parent
355febf927
commit
e431dc89a8
7 changed files with 14 additions and 14 deletions
|
@ -144,7 +144,7 @@ mod inner {
|
|||
JsValue,
|
||||
};
|
||||
|
||||
#[wasm_bindgen(module = "/dist/event.js")]
|
||||
#[wasm_bindgen(module = "/src/event.js")]
|
||||
extern "C" {
|
||||
#[wasm_bindgen(catch)]
|
||||
pub async fn emit(event: &str, payload: JsValue) -> Result<(), JsValue>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue