diff --git a/braid/braid-run/build.rs b/braid/braid-run/build.rs index d4c3b01a0..606ac29b7 100644 --- a/braid/braid-run/build.rs +++ b/braid/braid-run/build.rs @@ -8,7 +8,7 @@ fn main() -> Result<(), Box> { if !frontend_pkg_dir.join("braid_frontend.js").exists() { return Err(format!( "The frontend is required but not built. Hint: go to {} and \ - run `wasm-pack build --target web`.", + run `build.sh` (or on Windows, `build.bat`).", frontend_dir.display() ) .into()); diff --git a/strand-cam/build.rs b/strand-cam/build.rs index 6b6d559d3..136b6146e 100644 --- a/strand-cam/build.rs +++ b/strand-cam/build.rs @@ -8,7 +8,7 @@ fn main() -> Result<(), Box<(dyn std::error::Error)>> { if !frontend_pkg_dir.join("strand_cam_frontend_yew.js").exists() { return Err(format!( "The frontend is required but not built. Hint: go to {} and \ - run `wasm-pack build --target web`.", + run `build.sh` (or on Windows, `build.bat`).", frontend_dir.display() ) .into());