feat(Blenvy:Bevy): Disable ExportRegistryPlugin on WASM (#201)

Because it tries to write to the assets directory
This commit is contained in:
Beni Bachmann 2024-07-27 22:07:48 +02:00 committed by GitHub
parent 94fe3f6d3c
commit 17b31daa30
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,6 +60,7 @@ impl Plugin for BlenvyPlugin {
fn build(&self, app: &mut App) {
app.add_plugins((
ComponentsFromGltfPlugin::default(),
#[cfg(not(target_arch = "wasm32"))]
ExportRegistryPlugin::default(),
BlueprintsPlugin::default(),
))