Selaa lähdekoodia

chore: 添加 build:prod 脚本避免遗漏 BASE_PATH

guoziyun 3 viikkoa sitten
vanhempi
sitoutus
3a656069a8
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  1. 1 0
      package.json

+ 1 - 0
package.json

@@ -9,6 +9,7 @@
     "dev:server": "cd platform/server && npm run dev",
     "dev:client": "cd platform/client && npm run dev",
     "build": "npm run build:client && npm run build:server",
+    "build:prod": "BASE_PATH=/ads/ npm run build",
     "build:template": "cd templates/coloring && npm run build:all",
     "build:server": "cd platform/server && npm run build",
     "build:client": "cd platform/client && npm run build",