2021-05-10 19:07:01 +00:00
|
|
|
module.exports = {
|
2021-09-28 11:06:21 +00:00
|
|
|
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.tsx'],
|
2021-05-10 19:07:01 +00:00
|
|
|
addons: [
|
|
|
|
'@storybook/addon-links',
|
|
|
|
'@storybook/addon-essentials',
|
2021-11-25 11:46:11 +00:00
|
|
|
{
|
|
|
|
name: '@storybook/addon-postcss',
|
|
|
|
options: {
|
|
|
|
postcssLoaderOptions: {
|
|
|
|
implementation: require('postcss')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2021-09-28 11:06:21 +00:00
|
|
|
],
|
|
|
|
typescript: {
|
|
|
|
check: false,
|
|
|
|
checkOptions: {},
|
|
|
|
reactDocgen: 'react-docgen-typescript',
|
|
|
|
reactDocgenTypescriptOptions: {
|
|
|
|
shouldExtractLiteralValuesFromEnum: true,
|
2021-10-06 15:32:21 +00:00
|
|
|
propFilter: prop =>
|
|
|
|
prop.parent ? !/node_modules/.test(prop.parent.fileName) : true
|
|
|
|
}
|
2021-11-25 11:46:11 +00:00
|
|
|
},
|
|
|
|
core: {
|
|
|
|
builder: 'webpack5'
|
2021-10-06 15:32:21 +00:00
|
|
|
}
|
2021-05-10 19:07:01 +00:00
|
|
|
};
|