-
Notifications
You must be signed in to change notification settings - Fork 29
tree shake #174
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
tree shake #174
Conversation
…BankFinTech-master
Codecov Report
@@ Coverage Diff @@
## master #174 +/- ##
=======================================
Coverage 90.28% 90.28%
=======================================
Files 65 65
Lines 1390 1390
Branches 385 385
=======================================
Hits 1255 1255
Misses 112 112
Partials 23 23 Continue to review full report at Codecov.
|
|
ref #212 |
ES6 模块 tree shake 的实现,同时这里也尝试进行了 commonjs 的 tree shake。一个完整的 tree shake 过程分为以下两步:
(类似于webpack 的 usedExports)