feat: fixes #523. Remove the default export from plugins

This commit is contained in:
blam
2020-04-09 04:36:55 +02:00
parent 84340367c4
commit 0feee2b1a9
7 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -14,4 +14,4 @@
* limitations under the License.
*/
export { default } from './plugin';
export { plugin } from './plugin';
+1 -1
View File
@@ -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);