Disable ExportRegistryPlugin on WASM

Because it tries to write to the assets directory
This commit is contained in:
Beni Bachmann 2024-07-24 21:04:36 +02:00 committed by GitHub
parent b92081d06e
commit faf172d9eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

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(),
))