更新代码

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",
"description": "vue-router去除`@vue/devtools-api`依赖版",
"version": "4.1.6",
"version": "4.5.0",
"type": "module",
"main": "dist/vue-router.js",
"scripts": {
@ -16,8 +16,8 @@
"vue"
],
"devDependencies": {
"esbuild":"^0.17.8",
"iofs":"^1.5.3"
"esbuild": "^0.17.8",
"iofs": "^1.5.3"
},
"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',
target: 'es2017',
format: 'esm',
minify: true
minify: true,
treeShaking: true
})
fs.rm('./package', true)