storybook/docs/snippets/common/my-addon-preset-implementation.js.mdx
2020-12-05 01:23:05 +00:00

7 lines
164 B
Plaintext

```js
// /my-addon/src/preset.js
export function managerEntries(entry = []) {
return [...entry, require.resolve("./register")]; //👈 addon implementation
}
```