Quellcode durchsuchen

feat:增加 npm build prod,参考 https://t.zsxq.com/mdNd4

YunaiV vor 6 Monaten
Ursprung
Commit
406988c917
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      package.json

+ 1 - 0
package.json

@@ -8,6 +8,7 @@
   "scripts": {
     "dev": "vite --host",
     "build": "vue-tsc --noEmit && vite build",
+    "build:prod": "vite build --mode production",
     "preview": "vite preview",
     "new": "plop --plopfile ./plop/plopfile.js",
     "postinstall": "husky install",