fix(storybook): add aliases for @backstage/theme (#539)

This commit is contained in:
Muhammad Rivki
2020-04-13 14:43:52 +07:00
committed by GitHub
parent a6167ce02a
commit 6ca4626b78
+4
View File
@@ -7,6 +7,10 @@ module.exports = {
],
addons: ['@storybook/addon-actions', '@storybook/addon-links'],
webpackFinal: async config => {
config.resolve.alias = {
...config.resolve.alias,
'@backstage/theme': path.resolve(__dirname, '../../theme/src'),
};
config.resolve.modules.push(path.resolve(__dirname, '../../core/src'));
config.module.rules.push(
{