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",