Updated to use default import

Signed-off-by: Andre Wanlin <awanlin@spotify.com>
This commit is contained in:
Andre Wanlin
2024-02-15 18:50:07 -06:00
parent 0dc66a6912
commit b64ce5a485
9 changed files with 34 additions and 19 deletions
+1 -2
View File
@@ -57,13 +57,12 @@ In your `packages/backend/src/index.ts` make the following changes:
```diff
import { createBackend } from '@backstage/backend-defaults';
+ import { devtoolsPlugin } from '@backstage/plugin-devtools-backend';
const backend = createBackend();
// ... other feature additions
+ backend.add(devtoolsPlugin());
+ backend.add(import('@backstage/plugin-devtools-backend'));
backend.start();
```