diff --git a/crates/bevy_utils/Cargo.toml b/crates/bevy_utils/Cargo.toml index 494db5fe87..d4b986bf56 100644 --- a/crates/bevy_utils/Cargo.toml +++ b/crates/bevy_utils/Cargo.toml @@ -14,3 +14,6 @@ keywords = ["bevy"] [dependencies] ahash = "0.5.3" + +[target.'cfg(target_arch = "wasm32")'.dependencies] +getrandom = {version = "0.2.0", features = ["js"]}