摘要:
参考: https://juejin.im/post/5ea6ea1bf265da7bba5094e2#heading-36 阅读全文
摘要:
1、参考 https://www.webpackjs.com/guides/tree-shaking/ 2、配置 (1)package.json配置: { "name": "your-project", "sideEffects": false } (2)配置mode为production 3、说明 阅读全文