diff --git a/packages/app/src/plugins.ts b/packages/app/src/plugins.ts index 9f72242c80..e1ad92c0fa 100644 --- a/packages/app/src/plugins.ts +++ b/packages/app/src/plugins.ts @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -import { default as HomePagePlugin } from '@backstage/plugin-home-page'; -import { default as WelcomePlugin } from '@backstage/plugin-welcome'; -import { default as LighthousePlugin } from '@backstage/plugin-lighthouse'; +import { plugin as HomePagePlugin } from '@backstage/plugin-home-page'; +import { plugin as WelcomePlugin } from '@backstage/plugin-welcome'; +import { plugin as LighthousePlugin } from '@backstage/plugin-lighthouse'; export { HomePagePlugin, WelcomePlugin, LighthousePlugin }; diff --git a/plugins/home-page/src/index.ts b/plugins/home-page/src/index.ts index 0b2dc1b524..3a0a0fe2d3 100644 --- a/plugins/home-page/src/index.ts +++ b/plugins/home-page/src/index.ts @@ -14,4 +14,4 @@ * limitations under the License. */ -export { default } from './plugin'; +export { plugin } from './plugin'; diff --git a/plugins/home-page/src/plugin.ts b/plugins/home-page/src/plugin.ts index c3b4d30fe3..7de760a849 100644 --- a/plugins/home-page/src/plugin.ts +++ b/plugins/home-page/src/plugin.ts @@ -17,7 +17,7 @@ import { createPlugin } from '@backstage/core'; import HomePage from 'components/HomePage'; -export default createPlugin({ +export const plugin = createPlugin({ id: 'home-page', register({ router }) { router.registerRoute('/home', HomePage); diff --git a/plugins/lighthouse/src/index.ts b/plugins/lighthouse/src/index.ts index 1ef6bc4339..d67bc6a864 100644 --- a/plugins/lighthouse/src/index.ts +++ b/plugins/lighthouse/src/index.ts @@ -14,5 +14,5 @@ * limitations under the License. */ -export { default } from './plugin'; +export { plugin } from './plugin'; export * from './api'; diff --git a/plugins/lighthouse/src/plugin.ts b/plugins/lighthouse/src/plugin.ts index 4d138a8ab5..f8da8d84ed 100644 --- a/plugins/lighthouse/src/plugin.ts +++ b/plugins/lighthouse/src/plugin.ts @@ -19,7 +19,7 @@ import AuditList from './components/AuditList'; import AuditView from './components/AuditView'; import CreateAudit from './components/CreateAudit'; -export default createPlugin({ +export const plugin = createPlugin({ id: 'lighthouse', register({ router }) { router.registerRoute('/lighthouse', AuditList); diff --git a/plugins/welcome/src/index.ts b/plugins/welcome/src/index.ts index 0b2dc1b524..3a0a0fe2d3 100644 --- a/plugins/welcome/src/index.ts +++ b/plugins/welcome/src/index.ts @@ -14,4 +14,4 @@ * limitations under the License. */ -export { default } from './plugin'; +export { plugin } from './plugin'; diff --git a/plugins/welcome/src/plugin.ts b/plugins/welcome/src/plugin.ts index 740c6d2da3..fbc1d14256 100644 --- a/plugins/welcome/src/plugin.ts +++ b/plugins/welcome/src/plugin.ts @@ -17,7 +17,7 @@ import { createPlugin } from '@backstage/core'; import WelcomePage from 'components/WelcomePage'; -export default createPlugin({ +export const plugin = createPlugin({ id: 'welcome', register({ router, featureFlags }) { router.registerRoute('/', WelcomePage);