module.exports = { stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.tsx'], addons: [ '@storybook/addon-links', '@storybook/addon-essentials', { name: '@storybook/addon-postcss', options: { postcssLoaderOptions: { implementation: require('postcss') } } } ], typescript: { check: false, checkOptions: {}, reactDocgen: 'react-docgen-typescript', reactDocgenTypescriptOptions: { shouldExtractLiteralValuesFromEnum: true, propFilter: prop => prop.parent ? !/node_modules/.test(prop.parent.fileName) : true } }, core: { builder: 'webpack5' } };