diff --git a/Cargo.toml b/Cargo.toml index 52fc483f..e8b53066 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,3 +32,6 @@ iced_web = { version = "0.1.0-alpha", path = "web" } [dev-dependencies] env_logger = "0.7" + +[target.'cfg(target_arch = "wasm32")'.dev-dependencies] +wasm-bindgen = "0.2.51" diff --git a/examples/tour.html b/examples/tour.html index b17ac4a2..35360e59 100644 --- a/examples/tour.html +++ b/examples/tour.html @@ -6,8 +6,9 @@