Deduplicate frontend plugin/module extension collection logic (#33869)

Extract the shared extension resolution and duplicate-check logic from
createFrontendPlugin and createFrontendModule into a new
resolveExtensionDefinitions helper. Also fixes the duplicate extension
error message in createFrontendModule to say "Module" instead of
"Plugin".


Made-with: Cursor

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2026-04-13 13:58:59 +02:00
committed by GitHub
parent 9b57f709e9
commit 4c09967317
4 changed files with 70 additions and 66 deletions
@@ -0,0 +1,5 @@
---
'@backstage/frontend-plugin-api': patch
---
Fixed the duplicate extension error message in `createFrontendModule` to correctly say "Module" instead of "Plugin".