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.clonedeep 而不是 lodash/clonedeep #5

Closed
tetap opened this issue Oct 22, 2023 · 0 comments
Closed

请使用 lodash.clonedeep 而不是 lodash/clonedeep #5

tetap opened this issue Oct 22, 2023 · 0 comments

Comments

@tetap
Copy link

tetap commented Oct 22, 2023

在Electron-builder中,没有这样的treeshaking, 会导致全量引入,超过2MB的占用,我认为这是不必要的。整个库中只用到了clonedeep,是不是考虑换成lodash.clonedeep而不是整个lodash

@tetap tetap closed this as completed Nov 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant