更新代码

master
yutent 2024-12-12 17:26:02 +08:00
parent 4394cbb2e0
commit 5b756ea510
3 changed files with 431 additions and 272 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "@bytedo/vue-router", "name": "@bytedo/vue-router",
"description": "vue-router去除`@vue/devtools-api`依赖版", "description": "vue-router去除`@vue/devtools-api`依赖版",
"version": "4.1.6", "version": "4.5.0",
"type": "module", "type": "module",
"main": "dist/vue-router.js", "main": "dist/vue-router.js",
"scripts": { "scripts": {
@ -16,8 +16,8 @@
"vue" "vue"
], ],
"devDependencies": { "devDependencies": {
"esbuild":"^0.17.8", "esbuild": "^0.17.8",
"iofs":"^1.5.3" "iofs": "^1.5.3"
}, },
"author": "Yutent <yutent.io@gmail.com>" "author": "Yutent <yutent.io@gmail.com>"
} }

File diff suppressed because it is too large Load Diff

View File

@ -78,7 +78,8 @@ export function execAsync(cmd) {
outdir: 'dist', outdir: 'dist',
target: 'es2017', target: 'es2017',
format: 'esm', format: 'esm',
minify: true minify: true,
treeShaking: true
}) })
fs.rm('./package', true) fs.rm('./package', true)