storybook/docs/snippets/common/storybook-main-advanced-config-example.js.mdx
2023-06-27 18:24:04 +01:00

18 lines
305 B
Plaintext

```js
// .storybook/main.js
export default {
viteFinal: async (config, options) => {
// Update config here
return config;
},
webpackFinal: async (config, options) => {
// Change webpack config
return config;
},
babel: async (config, options) => {
return config;
},
};
```