From 310e2bff1ed412a81db70bf24acc20ca74f7b67a Mon Sep 17 00:00:00 2001 From: yutent Date: Tue, 21 Mar 2023 16:46:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=88=E5=B9=B6=E8=84=9A=E6=9C=AC=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 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a7337c8..8d1687d 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,9 @@ "dist/*" ], "scripts": { - "build": "esbuild src/index.js --minify --bundle --format=esm --target=esnext --outfile=dist/index.js", - "build:es6": "esbuild src/index.js --minify --bundle --format=esm --target=es6 --outfile=dist/index.es6.js" + "build:next": "esbuild src/index.js --minify --bundle --format=esm --target=esnext --outfile=dist/index.js", + "build:es6": "esbuild src/index.js --minify --bundle --format=esm --target=es6 --outfile=dist/index.es6.js", + "build": "npm run build:next && npm run build:es6" }, "repository": { "type": "git",