Update plugins/code-coverage-backend/README.md
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -74,20 +74,7 @@ The code coverage backend plugin has support for the [new backend system](https:
|
||||
In your `packages/backend/src/index.ts` make the following changes:
|
||||
|
||||
```diff
|
||||
import { createBackend } from '@backstage/backend-defaults';
|
||||
+ import { codeCoveragePlugin } from '@backstage/plugin-code-coverage-backend';
|
||||
const backend = createBackend();
|
||||
// ... other feature additions
|
||||
+ backend.add(codeCoveragePlugin());
|
||||
backend.start();
|
||||
```
|
||||
|
||||
Alternatively, you can actually remove the import line above, and do this instead.
|
||||
|
||||
```diff
|
||||
backend.add(explorePlugin());
|
||||
+ backend.add(import('@backstage/plugin-explore-backend'));
|
||||
|
||||
```
|
||||
|
||||
## Configuring your entity
|
||||
|
||||
Reference in New Issue
Block a user