Merge pull request #22264 from gauriimaheshwarii/backend

[fix]: export module as a default
This commit is contained in:
Patrik Oldsberg
2024-01-20 10:42:26 +01:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Updated the backend module template to make the module instance the package default export.
@@ -5,4 +5,4 @@
* @packageDocumentation
*/
export { {{moduleVar}} } from './module';
export { {{moduleVar}} as default } from './module';