mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 02:31:07 +08:00
Rename configType to mode
This commit is contained in:
parent
cb15153810
commit
1790d3b315
@ -24,7 +24,7 @@ export async function webpack(config, options) {
|
||||
|
||||
if (typeof customConfig === 'function') {
|
||||
logger.info('=> Loading custom webpack config (full-control mode).');
|
||||
return customConfig({ config: finalDefaultConfig, configType });
|
||||
return customConfig({ config: finalDefaultConfig, mode: configType });
|
||||
}
|
||||
|
||||
logger.info('=> Loading custom webpack config (extending mode).');
|
||||
|
Loading…
x
Reference in New Issue
Block a user