Been struggling to upgrade my app to webpack 5 and storybook 7. I am currently encountering an issue where a dependency in my project references a package called global and my app is not able to find it. Instead it aliases it to @storybook/global which is the wrong place.
ModuleNotFoundError: Module not found: Error: Can't resolve 'global/window' in '/.../node_modules/react-vis/es'
using description file: /.../node_modules/@storybook/channel-websocket/package.json (relative path: ./dist/esm)
aliased with mapping 'global': '/.../.storybook/node_modules/global' to '.../.storybook/node_modules/global'