mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 06:51:17 +08:00
336 B
336 B
export function webpackFinal(config, { presets }) {
const version = await presets.apply('webpackVersion');
const instance = (await presets.apply('webpackInstance'))?.default;
logger.info(`=> Running in webpack ${version}: ${instance}`);
return config;
}