From 1853aeabb0460b0bb5b031bd4b0f35af3c66948d Mon Sep 17 00:00:00 2001 From: yutent Date: Tue, 7 Mar 2023 19:26:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=89=93=E5=8C=85=E5=91=BD?= =?UTF-8?q?=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index fd4b998..3807a67 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,9 @@ "files": [ "dist/*" ], - "scripts": {}, + "scripts": { + "build": "esbuild src/index.js --minify --bundle --format=esm --target=es2017 --outfile=dist/index.js" + }, "repository": { "type": "git", "url": "git+https://github.com/bytedo/nine-core.git"