ERROR in ./node_modules/react-dnd/dist/esm/index.js 2:0-24
Module not found: Error: Can't resolve './hooks' in 'D:\work\khaos-web\node_modules\react-dnd\dist\esm'
Did you mean 'index.js'?
BREAKING CHANGE: The request './hooks' failed to resolve only because it was resolved as fully specified
(probably because the origin is a '.mjs' file or a '.js' file where the package.json contains '"type": "module"').
The extension in the request is mandatory for it to be fully specified.
Add the extension to the request.
@ ./src/.umi/.cache/.mfsu/mf-va_react-dnd.js 1:0-26 1:0-26
@ container entry ./react-dnd[0]
What happens?
升级依赖后开启mfsu 报错
umi 3.5
关了mfsu可以运行,或者加上