From ef8da8248145eb6d6824fdd26e163738d0fc46de Mon Sep 17 00:00:00 2001 From: a squid <34890855+squi-ddy@users.noreply.github.com> Date: Wed, 17 Jan 2024 03:13:45 +0800 Subject: [PATCH] Update package.json --- backend/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/package.json b/backend/package.json index 841d197..810621f 100644 --- a/backend/package.json +++ b/backend/package.json @@ -5,7 +5,7 @@ "main": "dist/index.js", "scripts": { "start": "NODE_ENV=production node dist/index.js", - "build": "esbuild src/index.ts --packages=external --platform=node --loader:.html=file --bundle --outfile=dist/index.js", + "build": "esbuild src/index.ts --packages=external --platform=node --bundle --minify --outfile=dist/index.js", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix", "typecheck": "tsc --noemit", "format": "prettier --write .",