• 修改package.json
{
 ...
 "scripts": {
  ...
  //新增
  "analyz": "NODE_ENV=production npm_config_report=true npm run build",
  ...
 },
 ...
}
  • 启动
npm run analyz

相关文章:

  • 2021-09-18
  • 2021-08-08
  • 2021-09-27
  • 2021-11-03
  • 2021-04-12
  • 2022-01-11
  • 2021-12-26
猜你喜欢
  • 2022-12-23
  • 2021-07-10
  • 2021-04-23
相关资源
相似解决方案