Describe the bug
The "require" fields added by #6821 cause webpack to use the cjs version instead of the esm version.
If all the "require" fields are removed, the bundle size will be reduced.
Expected behavior
webpack should use the esm version.
Reproduction code
No response
Reproduction URL
No response
Version
7.5.5
Environment
No response
Additional context
No response