Browse Source

支持生成构建报告

cj 5 years ago
parent
commit
18160a6424
1 changed files with 2 additions and 1 deletions
  1. 2 1
      package.json

+ 2 - 1
package.json

@@ -6,7 +6,8 @@
     "pre": "cnpm install || yarn --registry https://registry.npm.taobao.org || npm install --registry https://registry.npm.taobao.org ",
     "pre": "cnpm install || yarn --registry https://registry.npm.taobao.org || npm install --registry https://registry.npm.taobao.org ",
     "dev": "vue-cli-service serve",
     "dev": "vue-cli-service serve",
     "build": "vue-cli-service build",
     "build": "vue-cli-service build",
-    "lint": "vue-cli-service lint"
+    "lint": "vue-cli-service lint",
+    "analyze": "vue-cli-service build --report"
   },
   },
   "dependencies": {
   "dependencies": {
     "@chenfengyuan/vue-qrcode": "^1.0.1",
     "@chenfengyuan/vue-qrcode": "^1.0.1",