packages/storybook: make local core imports resolve to core src

This commit is contained in:
Patrik Oldsberg
2020-05-01 15:25:03 +02:00
parent db9d9f7f08
commit 5448e54e94
+2
View File
@@ -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'),
};