1.
执行npm run build 打包完成后,会在dist文件夹里面生成一个report.html文件
2.
直接运行npm run build -- --report 即可(注意:npm run build --report 不行,注意空格哦)