1
0
mirror of synced 2026-04-03 06:28:35 +08:00

build: 统一构建加入runtime

This commit is contained in:
roymondchen
2025-01-21 19:56:04 +08:00
parent 5c0cfe44dd
commit c524cd4086
20 changed files with 89 additions and 219 deletions

View File

@@ -18,12 +18,6 @@
"types"
],
"license": "Apache-2.0",
"scripts": {
"build": "npm run build:type && vite build",
"build:type": "npm run clear:type && vue-tsc --declaration --emitDeclarationOnly --project tsconfig.build.json",
"clear:type": "rimraf ./types",
"type:check": "vue-tsc --noEmit"
},
"engines": {
"node": ">=18"
},
@@ -45,13 +39,5 @@
"typescript": {
"optional": true
}
},
"devDependencies": {
"@types/node": "^18.19.0",
"@vitejs/plugin-vue": "^5.2.1",
"@vue/compiler-sfc": "^3.5.13",
"rimraf": "^3.0.2",
"vite": "^6.0.10",
"vue-tsc": "^2.2.0"
}
}