mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 22:21:27 +08:00
9 lines
307 B
JavaScript
9 lines
307 B
JavaScript
function managerEntries(entry = [], options) {
|
|
// eslint-disable-next-line global-require
|
|
const { checkDocsLoaded } = require('./dist/cjs/preset/checkDocsLoaded');
|
|
checkDocsLoaded(options.configDir);
|
|
return [...entry, require.resolve('./dist/esm/register')];
|
|
}
|
|
|
|
module.exports = { managerEntries };
|