mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 09:01:07 +08:00
9 lines
288 B
JavaScript
9 lines
288 B
JavaScript
const { ensureDocsBeforeControls } = require('./dist/cjs/preset/ensureDocsBeforeControls');
|
|
|
|
function managerEntries(entry = [], options) {
|
|
ensureDocsBeforeControls(options.configDir);
|
|
return [...entry, require.resolve('./dist/esm/register')];
|
|
}
|
|
|
|
module.exports = { managerEntries };
|