13 lines
364 B
JavaScript
13 lines
364 B
JavaScript
const path = require('path');
|
|
|
|
module.exports = {
|
|
addons: ['@storybook/addon-actions/register'],
|
|
stories: [ '../src/**/*stories.js' ],
|
|
webpackFinal: (config) => {
|
|
config.resolve.alias['~'] = path.resolve(__dirname, '../src/');
|
|
config.resolve.alias['~C'] = path.resolve(__dirname, '../src/components/');
|
|
|
|
return config;
|
|
}
|
|
};
|