From 3920fd9d353c8262f1991d0a56b533fa4466c003 Mon Sep 17 00:00:00 2001 From: Jacob Rosenthal Date: Fri, 26 Jul 2019 10:04:27 -0700 Subject: [PATCH] stdweb example: specify release and fix path --- .gitignore | 2 ++ examples/stdweb/README.md | 2 +- examples/stdweb/www/index.html | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 4308d82..568fabd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,5 @@ target/ **/*.rs.bk Cargo.lock +**/package-lock.json +**/wasm-pack.log \ No newline at end of file diff --git a/examples/stdweb/README.md b/examples/stdweb/README.md index 53c1b24..a5864dd 100644 --- a/examples/stdweb/README.md +++ b/examples/stdweb/README.md @@ -6,7 +6,7 @@ Simple example of compiling app consuming typed-html to WebAssembly. Make sure you have `cargo-web` installed: [Instructions](https://github.com/koute/cargo-web/#installation) -Build using `cargo web build` +Build using `cargo web build --release` _Note: There may be an issue that can be worked around as described [here](https://github.com/bodil/typed-html/issues/6), due to a bug in stdweb_ diff --git a/examples/stdweb/www/index.html b/examples/stdweb/www/index.html index 262d09e..8088a41 100644 --- a/examples/stdweb/www/index.html +++ b/examples/stdweb/www/index.html @@ -5,7 +5,7 @@ typed-html WASM example - +