mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-08 09:31:47 +08:00
17 lines
304 B
Plaintext
17 lines
304 B
Plaintext
```js
|
|
// my-preset/index.js
|
|
|
|
function managerEntries(entry = []) {
|
|
return [...entry, require.resolve('my-other-addon/register')];
|
|
}
|
|
|
|
const config = (entry = [], options) => {
|
|
return [...entry, require.resolve('my-other-addon/addDecorator')];
|
|
};
|
|
|
|
module.exports = {
|
|
managerEntries,
|
|
config,
|
|
};
|
|
```
|