增加打包配置
parent
d135f8c266
commit
22fa35c77d
|
@ -1,5 +1,6 @@
|
|||
.vscode
|
||||
node_modules/
|
||||
dist
|
||||
|
||||
*.sublime-project
|
||||
*.sublime-workspace
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue