diff --git a/packages/storybook/.storybook/main.js b/packages/storybook/.storybook/main.js index d93ff20679..5a3eafa532 100644 --- a/packages/storybook/.storybook/main.js +++ b/packages/storybook/.storybook/main.js @@ -16,6 +16,8 @@ module.exports = { config.resolve.alias = { ...config.resolve.alias, + // Resolves imports of @backstage/core inside the storybook config, pointing to src + '@backstage/core': coreSrc, // Point to dist version of theme and any other packages that might be needed in the future '@backstage/theme': path.resolve(__dirname, '../../theme'), };