浏览代码

fix: 修改build:prod

Before 9 月之前
父节点
当前提交
5b792ea427
共有 1 个文件被更改,包括 7 次插入3 次删除
  1. 7 3
      package.json

+ 7 - 3
package.json

@@ -4,15 +4,19 @@
   "private": true,
   "scripts": {
     "dev": "env-cmd -f .env.development next dev",
-    "dev:pro": "env-cmd -f .env.production next dev",
-    "build:pro": "env-cmd -f .env.production next build",
-    "start:pro": "env-cmd -f .env.production next start",
+
+    "dev:prod": "env-cmd -f .env.production next dev",
+    "build:prod": "env-cmd -f .env.production next build",
+    "start:prod": "env-cmd -f .env.production next start",
+
     "dev:test": "env-cmd -f .env.test  next dev",
     "build:test": "env-cmd -f .env.test next build",
     "start:test": "env-cmd -f .env.test next start",
+
     "dev:uat": "env-cmd -f .env.uat next dev",
     "build:uat": "env-cmd -f .env.uat next build",
     "start:uat": "env-cmd -f .env.uat next start",
+
     "build": "env-cmd -f .env.production next build",
     "lint": "next lint",
     "preinstall": "npx only-allow pnpm"