```js
// .storybook/main.js

module.exports = {
  // Your Storybook configuration

  webpackFinal: async (config) => {
    config.resolve.alias['isomorphic-fetch'] = require.resolve('../__mocks__/isomorphic-fetch.js');
    return config;
  },
};
```