We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在 @umijs/deps 3.5.36 对应文件 node_modules/@umijs/deps/compiled/babel/bundle.js 中
对应的 require.resolve 关键字的 require 被指向了空模块
对应的 browserlist 的源码如下
https://github.com/browserslist/browserslist/blob/main/node.js#L176
会导致 使用 extends 方式拓展的 browserslist 配置 会报错,因为 require.resolve 的 require 是一个空模块
https://github.com/vagusX/umi-browserslist-extends-bug-sample
Steps to reproduce the behavior:
git clone https://github.com/vagusX/umi-browserslist-extends-bug-sample yarn yarn start
出现以下报错
Expected behavior 正常运行不报错
The text was updated successfully, but these errors were encountered:
可能跟这个相关
Sorry, something went wrong.
wyy0512
Successfully merging a pull request may close this issue.
What happens?
在 @umijs/deps 3.5.36 对应文件 node_modules/@umijs/deps/compiled/babel/bundle.js 中
对应的 require.resolve 关键字的 require 被指向了空模块
对应的 browserlist 的源码如下
https://github.com/browserslist/browserslist/blob/main/node.js#L176
会导致 使用 extends 方式拓展的 browserslist 配置 会报错,因为 require.resolve 的 require 是一个空模块
Mini Showcase Repository(REQUIRED)
https://github.com/vagusX/umi-browserslist-extends-bug-sample
How To Reproduce
Steps to reproduce the behavior:
出现以下报错
Expected behavior
正常运行不报错
Context
The text was updated successfully, but these errors were encountered: