feat: allow specifying app level feature flags

application feature flags can be defined in the application
creation. see docs/plugins/feature-flags.md for reference.

closes #15553

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
This commit is contained in:
Heikki Hellgren
2023-01-04 15:41:46 +02:00
parent dcf3b33189
commit bca8e8b393
11 changed files with 67 additions and 8 deletions
+1
View File
@@ -51,6 +51,7 @@ export function createApp(
...options?.icons,
},
plugins: (options?.plugins as BackstagePlugin[]) ?? [],
featureFlags: options?.featureFlags ?? [],
themes: options?.themes ?? themes,
});
}