fix js paths

This commit is contained in:
Jonas Kruckenberg 2022-11-13 21:07:28 +01:00
parent 355febf927
commit e431dc89a8
7 changed files with 14 additions and 14 deletions

View file

@ -36,7 +36,7 @@ pub async fn write_text(text: &str) -> crate::Result<()> {
mod inner {
use wasm_bindgen::{prelude::wasm_bindgen, JsValue};
#[wasm_bindgen(module = "/dist/clipboard.js")]
#[wasm_bindgen(module = "/src/clipboard.js")]
extern "C" {
#[wasm_bindgen(catch)]
pub async fn readText() -> Result<JsValue, JsValue>;