From 22fa35c77d2629355880059cb8f0ec0d5c38cf4d Mon Sep 17 00:00:00 2001 From: yutent Date: Tue, 28 Mar 2023 12:06:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=89=93=E5=8C=85=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + package.json | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.gitignore b/.gitignore index 8967361..372c52e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,6 @@ .vscode node_modules/ +dist *.sublime-project *.sublime-workspace diff --git a/package.json b/package.json index d7c9282..efcef80 100644 --- a/package.json +++ b/package.json @@ -5,6 +5,9 @@ "bin": { "fite": "index.js" }, + "scripts": { + "pack": "esbuild index.js --minify --bundle --format=esm --target=esnext --platform=node --external:@bytedo/sass --external:esbuild --external:iofs --external:@vue/compiler-dom --external:ws --external:chokidar --external:kolorist --outfile=dist/index.js" + }, "dependencies": { "@bytedo/sass": "^1.54.8", "@vue/compiler-dom": "^3.2.47",