增加打包配置

pull/1/head
yutent 2023-03-28 12:06:12 +08:00
parent d135f8c266
commit 22fa35c77d
2 changed files with 4 additions and 0 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
.vscode
node_modules/
dist
*.sublime-project
*.sublime-workspace

View File

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