Files
dax-pay-ui/apps/daxpay-admin/package.json
DaxPay Dev 56eb6187ef fix(admin): 修复 vite 版本冲突导致的预构建 tree-shaking bug
- overrides 添加 vite 强制走 catalog,避免 vue-router 5.1.0
  peer dep 引入 vite 8.0.16(rolldown 1.0.3 tree-shaking bug
  导致 init_runtime_dom_esm_bundler import 声明丢失)
- 钉死 vue/@vue/shared/vite 精确版本(3.5.33/8.0.10),
  防止 catalog ^ 范围解析到不兼容的新版本
- catalog 添加 esbuild ^0.27.0 满足 vite optional peer dep 要求
2026-06-22 23:08:51 +08:00

60 lines
1.6 KiB
JSON

{
"name": "daxpay-admin",
"version": "5.7.0",
"homepage": "https://vben.pro",
"bugs": "https://github.com/vbenjs/vue-vben-admin/issues",
"repository": {
"type": "git",
"url": "git+https://github.com/vbenjs/vue-vben-admin.git",
"directory": "apps/daxpay-admin"
},
"license": "MIT",
"author": {
"name": "vben",
"email": "ann.vben@gmail.com",
"url": "https://github.com/anncwb"
},
"type": "module",
"scripts": {
"build": "pnpm vite build --mode production",
"build:analyze": "pnpm vite build --mode analyze",
"dev": "pnpm vite --mode development",
"preview": "vite preview",
"typecheck": "vue-tsc --noEmit --skipLibCheck"
},
"imports": {
"#/*": "./src/*"
},
"dependencies": {
"@vben-core/icons": "workspace:*",
"@vben/access": "workspace:*",
"@vben/common-ui": "workspace:*",
"@vben/constants": "workspace:*",
"@vben/hooks": "workspace:*",
"@vben/icons": "workspace:*",
"@vben/layouts": "workspace:*",
"@vben/locales": "workspace:*",
"@vben/plugins": "workspace:*",
"@vben/preferences": "workspace:*",
"@vben/request": "workspace:*",
"@vben/stores": "workspace:*",
"@vben/styles": "workspace:*",
"@vben/types": "workspace:*",
"@vben/utils": "workspace:*",
"@vueuse/core": "catalog:",
"antdv-next": "catalog:",
"dayjs": "catalog:",
"jsencrypt": "catalog:",
"pinia": "catalog:",
"vue": "catalog:",
"vue-router": "catalog:",
"vxe-pc-ui": "catalog:",
"vxe-table": "catalog:"
},
"devDependencies": {
"axios": "catalog:",
"esbuild": "catalog:",
"less": "catalog:"
}
}