aotds-docks/.storybook/main.js

13 lines
364 B
JavaScript
Raw Normal View History

2020-07-26 21:55:51 +00:00
const path = require('path');
2020-07-19 20:21:28 +00:00
module.exports = {
2020-07-27 17:42:19 +00:00
addons: ['@storybook/addon-actions/register'],
2020-07-26 21:55:51 +00:00
stories: [ '../src/**/*stories.js' ],
webpackFinal: (config) => {
config.resolve.alias['~'] = path.resolve(__dirname, '../src/');
config.resolve.alias['~C'] = path.resolve(__dirname, '../src/components/');
return config;
}
2020-07-19 20:21:28 +00:00
};