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

vue3-ts-util使用tree-shaking的效果 #4

Open
zanllp opened this issue Jul 22, 2021 · 0 comments
Open

vue3-ts-util使用tree-shaking的效果 #4

zanllp opened this issue Jul 22, 2021 · 0 comments

Comments

@zanllp
Copy link
Contributor

zanllp commented Jul 22, 2021

仅引入副作用

编译完不存在,因为vue3-ts-util并没有副作用
image

image

引入一个严格队列

编译完仅有少量的相关模块,没有ant-design

image
image

引入一个严格队列和使用的ant-design的函数

编译完仅有少量的相关模块和部分的ant-design,因为antd也支持tree-shaking

image

image

zanllp added a commit that referenced this issue Jul 26, 2021
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