摘要: 1、 webpack: optimization: { minimize: false, // 可以先测试为false,不压缩,打包之后看源码,是否有优化空间,正式生产环境需要压缩的设置为true1 usedExports: true, // 先设置为true,未使用的代码不应该打包,只有使用到的才 阅读全文
posted @ 2021-07-29 20:57 Running00 阅读(32) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/u012961419/article/details/107093974/ https://segmentfault.com/a/1190000022194321 https://www.jianshu.com/p/bdf1f026af09 https:/ 阅读全文
posted @ 2021-07-29 14:41 Running00 阅读(11) 评论(0) 推荐(0) 编辑
摘要: "sideEffects": false // 在package.json 中配置 https://blog.csdn.net/gosenkle/article/details/90598950 阅读全文
posted @ 2021-07-29 14:00 Running00 阅读(92) 评论(0) 推荐(0) 编辑