weexteam / a-builder-for-apache-weex

a-builder-for-apache-weex is a third party plugin, and is not developed nor maintained by Apache Weex.
MIT License
13 stars 9 forks source link

Why not upgrade to a higher version of webpack? #8

Closed PerseveranceZ closed 6 years ago

PerseveranceZ commented 7 years ago

Why not upgrade to a higher version of webpack for reduce the volume of the js bundle and speed up the compilation speed with the latest features?

erha19 commented 6 years ago

@PerseveranceZ https://github.com/weexteam/weex-builder/commit/e7392063e88c6635db262f2bc85050bf1f36d82c. The webpack have been upgraded to 3.10.0.

PerseveranceZ commented 6 years ago

awesome!!! I have another question. Is UI component library able to support tree-shaking? I have tried it, but weex-ui or other libraries are not supported at present. When I import some components, I will still pack it all in.