```js // .storybook/main.js module.exports = { stories: ['../stories/**/*.stories.mdx', '../stories/**/*.stories.@(js|jsx|ts|tsx)'], addons: ['@storybook/addon-links', '@storybook/addon-essentials'], core: { builder: '@storybook/builder-vite', }, typescript: { reactDocgen: 'react-docgen', // 👈 react-docgen configured here. }, }; ```