-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
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
lodash 引入问题 #381
Labels
enhancement
New feature or request
Comments
不知道能否统一加上 |
可以可以~ 可以在编译的时候处理~ |
@LionRock 试试最新的 beta 版本呢 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This was referenced Jan 10, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
问题描述
引入
lodash.get
后报错复现步骤
yarn add lodash.get
import get from 'lodash.get'
后使用get
方法会报错报错信息
![image](https://user-images.githubusercontent.com/4017964/43206834-2c91238c-9059-11e8-9dd3-1680e0815dd6.png)
系统信息
补充信息
dist/npm/lodash.get/index.js
的导出方式为module.exports = get;
解决方案
加上
module.exports.default = get;
The text was updated successfully, but these errors were encountered: