chore: cleanup

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2024-08-27 17:08:16 +02:00
parent 686d6c2f51
commit d103f216b0
2 changed files with 1 additions and 2 deletions
@@ -40,7 +40,6 @@ describe('convertLegacyPlugin', () => {
"featureFlags": [],
"getExtension": [Function],
"id": "test",
"pluginId": "test",
"routes": {},
"toString": [Function],
"version": "v1",
@@ -128,7 +128,7 @@ export function createFrontendPlugin<
return {
$$type: '@backstage/FrontendPlugin',
version: 'v1',
id: options.id, // TODO: Backwards compat to be able to install in older apps, remove after 1.31
id: options.id,
routes: options.routes ?? ({} as TRoutes),
externalRoutes: options.externalRoutes ?? ({} as TExternalRoutes),
featureFlags: options.featureFlags ?? [],