```js
// storysource/preset.js

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