storybook/docs/snippets/common/my-addon-preset-implementation.js.mdx

9 lines
194 B
Plaintext

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