/** * Export a function. Accept the base config as the only param. * @param {Object} options * @param {Required} options.config * @param {'DEVELOPMENT' | 'PRODUCTION'} options.mode - change the build configuration. 'PRODUCTION' is used when building the static version of storybook. */ module.exports = async ({ config, mode }) => { // Make whatever fine-grained changes you need // Return the altered config return config; };