Repository: storybook
Issue: [Bug]: build-storybook fails, when webpack (v5) config has `fallback` in `resolve`
Labels: bug,needs triage

### Describe the bug

When I run `build-storybook`, I get:
```
ERR! WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
ERR!  - configuration.resolve has an unknown property 'fallback'. These properties are valid:
ERR!    object { alias?, aliasFields?, cachePredicate?, cacheWithContext?, concord?, descriptionFiles?, enforceExtension?, enforceModuleExtension?, extensions?, fileSystem?, ignoreRootsErrors?, mainFields?, mainFiles?, moduleExtensions?, modules?, plugins?, preferAbsolute?, resolver?, roots?, symlinks?, unsafeCache?, useSyncFileSystemCalls? }
ERR!    -> Options for the resolver
ERR!     at webpack (...storybook/node_modules/webpack/lib/webpack.js:31:9)
ERR!     at starterGeneratorFn (...storybook/node_modules/@storybook/builder-webpack4/dist/cjs/index.js:137:18)
ERR!     at starterGeneratorFn.next (<anonymous>)
ERR!     at Object.start (...storybook/node_modules/@storybook/builder-webpack4/dist/cjs/index.js:275:34)
ERR!     at async Promise.all (index 0)
ERR!     at async storybookDevServer (...storybook/node_modules/@storybook/core-server/dist/cjs/dev-server.js:203:28)
ERR!     at async buildDevStandalone (...storybook/node_modules/@storybook/core-server/dist/cjs/build-dev.js:120:31)
ERR!     at async buildDev (...storybook/node_modules/@storybook/core-server/dist/cjs/build-dev.js:174:5)
ERR!  WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
ERR!  - configuration.resolve has an unknown property 'fallback'. These properties are valid:
ERR!    object { alias?, aliasFields?, cachePredicate?, cacheWithContext?, concord?, descriptionFiles?, enforceExtension?, enforceModuleExtension?, extensions?, fileSystem?, ignoreRootsErrors?, mainFields?, mainFiles?, moduleExtensions?, modules?, plugins?, preferAbsolute?, resolver?, roots?, symlinks?, unsafeCache?, useSyncFileSystemCalls? }
ERR!    -> Options for the resolver
ERR!     at webpack (...storybook/node_modules/webpack/lib/webpack.js:31:9)
ERR!     at starterGeneratorFn (...storybook/node_modules/@storybook/builder-webpack4/dist/cjs/index.js:137:18)
ERR!     at starterGeneratorFn.next (<anonymous>)
ERR!     at Object.start (...storybook/node_modules/@storybook/builder-webpack4/dist/cjs/index.js:275:34)
ERR!     at async Promise.all (index 0)
ERR!     at async storybookDevServer (...storybook/node_modules/@storybook/core-server/dist/cjs/dev-server.js:203:28)
ERR!     at async buildDevStandalone (...storybook/node_modules/@storybook/core-server/dist/cjs/build-dev.js:120:31)
ERR!     at async buildDev (...storybook/node_modules/@storybook/core-server/dist/cjs/build-dev.js:174:5)
```
My main app `webpack` config part:
```
resolve: {
    alias: {
      ...
    },
    extensions: ['.ts', '.tsx', '.js', '.json'],
    fallback: {
      crypto: require.resolve('crypto-browserify'),
      stream: require.resolve('stream-browserify'),
    },
  },
```
I tried with both `"dotenv-cli": "7.2.1"` and `"dotenv-cli": "6.0.0"`

I can kinda try to override it in the `.storybook/main.js`, but `fallback` is essential part of `webpack` config, shouldn't it be processed out of the box?

### To Reproduce

Just add `fallback` to any test project `webpack` config

### System

```shell
System:
    OS: macOS 13.3.1
    CPU: (8) x64 Intel(R) Core(TM) i5-1038NG7 CPU @ 2.00GHz
  Binaries:
    Node: 16.19.0 - ~/.nvm/versions/node/v16.19.0/bin/node
    Yarn: 1.22.18 - ~/.nvm/versions/node/v16.19.0/bin/yarn
    npm: 8.19.3 - ~/.nvm/versions/node/v16.19.0/bin/npm
  Browsers:
    Chrome: 113.0.5672.92
    Firefox: 113.0.1
    Safari: 16.4
  npmPackages:
    @storybook/addon-actions: 6.5.16 => 6.5.16 
    @storybook/addon-essentials: 6.5.16 => 6.5.16 
    @storybook/addon-links: 6.5.16 => 6.5.16 
    @storybook/builder-webpack5: 6.5.16 => 6.5.16 
    @storybook/manager-webpack5: 6.5.16 => 6.5.16 
    @storybook/react: 6.5.16 => 6.5.16 
    @storybook/testing-library: 0.1.0 => 0.1.0
```


### Additional context

My main app part of `package.json`:

```
"connected-react-router": "6.9.3",
    "crypto-browserify": "3.12.0",
    "react": "17.0.2",
    "react-dom": "17.0.2",
    "react-intl": "4.7.6",
    "react-redux": "7.2.9",
    "react-router-dom": "5.3.4",
    "redux": "4.2.1",
    "redux-actions": "2.6.5",
    "redux-api-middleware": "2.3.0",
    "redux-immutable-state-invariant": "2.1.0",
    "redux-thunk": "2.4.2",
    "reselect": "3.0.1",
    "stream-browserify": "3.0.0",
    "styled-components": "5.3.8"
  ...
  "devDependencies": {
    "@babel/core": "7.21.0",
    "@babel/preset-env": "7.20.2",
    "@babel/preset-react": "7.18.6",
    "@babel/preset-typescript": "7.21.0",
    "babel-loader": "9.1.2",
    "clean-webpack-plugin": "4.0.0",
    "copy-webpack-plugin": "11.0.0",
    "html-webpack-plugin": "5.5.0",
    "typescript": "4.9.5",
    "webpack": "5.76.2",
    "webpack-cli": "5.0.1",
    "webpack-deadcode-plugin": "0.1.17",
    "webpack-dev-server": "4.13.1",
    "webpack-merge": "5.8.0"
  }
```