// .storybook/main.js
export default {
// Replace your-framework with the webpack-based framework you are using (e.g., react-webpack5)
framework: {
name: '@storybook/your-framework',
options: {
builder: {
useSWC: true,
},
},
},
stories: ['../src/**/*.mdx', '../src/**/*.stories.@(js|jsx|mjs|ts|tsx)'],
};