storybook/docs/snippets/common/storybook-main-webpack-options.js.mdx
Norbert de Langen f04ab828c5 remove more
2024-01-05 13:36:53 +01:00

19 lines
426 B
Plaintext

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