Skip to content
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/lodash-es 依赖 #6523

Closed
guoyunhe opened this issue Jan 12, 2024 · 3 comments
Closed

淘汰 lodash/lodash-es 依赖 #6523

guoyunhe opened this issue Jan 12, 2024 · 3 comments
Labels

Comments

@guoyunhe
Copy link
Contributor

Version of antd-mobile

5.33.0

What is this feature about?

不管是 lodash 还是 lodash-es, 即使正确的 tree-shaking, 都会带来几十 KB 的体积(antd-mobile 实际上只用了 4 个 lodash 函数),是否可以用更轻量化的库来替换,或者使用原生代码替代 https://youmightnotneed.com/lodash/

@afc163
Copy link
Member

afc163 commented Jan 29, 2024

+1

1 similar comment
@Michael18811380328
Copy link

+1

@guoyunhe
Copy link
Contributor Author

antd-mobile 产物已不再依赖 lodash

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants