storybook/docs/snippets/common/storybook-storysource-manager-entries.js.mdx
2020-08-11 01:11:41 +01:00

7 lines
161 B
Plaintext

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