From 86348605907ef81b2a8b54c674763115f7c37417 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=23=E4=BA=91=E6=B7=A1=E7=84=B6?= Date: Fri, 24 May 2024 22:30:49 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E4=BB=A3=E7=A0=81=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 344ec6d..070099a 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "OpenAPI → Axios", "scripts": { "prepare": "husky install", - "build": "vite build", + "build": "NODE_ENV=production vite build", "lint:js": "eslint --ext=.cjs,.mjs,.ts,.tsx src test", "lint:js:fix": "eslint --ext=.cjs,.mjs,.ts,.tsx src test --fix", "lint:type": " tsc --project tsconfig.json",