storybook/docs/snippets/common/storybook-storysource-manager-entries.js.mdx
2020-10-07 12:23:34 +08:00

7 lines
161 B
Plaintext

```js
// storysource/preset.js
export function managerEntries(entry = []) {
return [...entry, require.resolve('@storybook/addon-storysource/register')];
}
```