Hello. Faced the problem that I need to make asynchronous calls before exporting the config from storybook/webpack.config.js.
module.exports = configureStorybook;
async function configureStorybook(storybookBaseConfig) {
const config = await Promise(...)
storybookBaseConfig.module = config.module;
storybookBaseConfig.resolve = config.resolve;
return storybookBaseConfig;
}
it's possible? Because native webpack support return promise/async functions
thanks
Currently it's not possible.
Released in v4.rc2
Most helpful comment
Released in v4.rc2