Skip to content

Latest commit

 

History

History
16 lines (15 loc) · 356 Bytes

main-config-framework-options-builder-use-swc.js.mdx

File metadata and controls

16 lines (15 loc) · 356 Bytes
// .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)'],
};