合并脚本命令

pull/1/head 1.5.7
yutent 2023-03-21 16:46:53 +08:00
parent 836d566f55
commit 310e2bff1e
1 changed files with 3 additions and 2 deletions

View File

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