摘要: 1、import优化a、tree-shaking 把没用到的代码删除掉,import 在生产环境下 会自动去除掉没用的代码b、scope hosting 作用域提升,在webpack中会自动省略一些可以简化的代码2、懒加载 let button = document.createElement('b 阅读全文
posted @ 2019-07-26 21:42 dellyoung 阅读(392) 评论(0) 推荐(0) 编辑