storybook/docs/snippets/common/storybook-main-configuration-src-dir.main-js.js.mdx
2022-07-07 19:26:21 +01:00

15 lines
256 B
Plaintext

```js
// ./storybook/main.js
module.exports = {
stories: ['../src'],
addons: [
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/addon-interactions',
],
core: {
builder: '@storybook/builder-webpack5',
},
};
```