mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 01:21:06 +08:00
18 lines
442 B
Plaintext
18 lines
442 B
Plaintext
```js
|
|
// .storybook/main.js
|
|
|
|
module.exports = {
|
|
stories: ['../src/**/*.stories.mdx', '../src/**/*.stories.@(js|jsx|ts|tsx)'],
|
|
addons: [
|
|
'@storybook/addon-links',
|
|
'@storybook/addon-essentials',
|
|
'@storybook/addon-interactions',
|
|
'@storybook/preset-create-react-app',
|
|
],
|
|
framework: '@storybook/react',
|
|
core: {
|
|
builder: '@storybook/builder-webpack5',
|
|
disableTelemetry: true, // 👈 Disables telemetry
|
|
},
|
|
};
|
|
``` |