storybook/docs/snippets/common/my-addon-preset-implementation.js.mdx
2022-03-18 10:27:04 +01:00

9 lines
193 B
Plaintext

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