Write how to use bevy_egui_inspector
on web
#196
Labels
documentation
Improvements or additions to documentation
Milestone
Running
trunk serve --features dev
seems to ignore the features passed. I had to add the following to myindex.html
:but then I got greeted with the following:
it seems to me like there is no opt-out of that feature when using
bevy_egui_inspector
, which may be worth fixing upstream: jakobhellermann/bevy-inspector-egui#209 and jakobhellermann/bevy-inspector-egui#210. Until then, you indeed need to set yourRUSTFLAGS
env var:RUSTFLAGS="--cfg=web_sys_unstable_apis"
I've seen people online say that you can add this to your
config.toml
, but I have not had success with that.Technically we don't ship
bevy_egui_inspector
, but given that we highly recommend it, it may be worth making sure that people can actually use it.The text was updated successfully, but these errors were encountered: