Skip to content

Commit

Permalink
Fix web builds
Browse files Browse the repository at this point in the history
Signed-off-by: Luca Della Vedova <[email protected]>
  • Loading branch information
luca-della-vedova committed Jul 25, 2024
1 parent f9896c7 commit 8405dda
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion rmf_site_editor/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ name = "extending_site_editor"
path = "examples/extending_menu.rs"

[dependencies]
bevy_egui = "0.27"
bevy_mod_raycast = "0.17"
bevy_mod_outline = "0.7"
bevy_infinite_grid = "0.12"
Expand Down Expand Up @@ -54,6 +53,9 @@ nalgebra = "0.32.5"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
clap = { version = "4.0.10", features = ["color", "derive", "help", "usage", "suggestions"] }
bevy_egui = "0.27"

[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.7"
# Disable the manage_clipboard feature, depends on nightly web features
bevy_egui = { version = "0.27", features = ["open_url", "default_fonts", "render"] }

0 comments on commit 8405dda

Please sign in to comment.