mirror of
https://github.com/vbenjs/vue-vben-admin.git
synced 2025-02-03 02:54:40 +08:00
fix: build error
This commit is contained in:
parent
266b566850
commit
5ac055be2f
60
package.json
60
package.json
@ -36,16 +36,16 @@
|
||||
"@ant-design/colors": "^6.0.0",
|
||||
"@ant-design/icons-vue": "^6.0.1",
|
||||
"@iconify/iconify": "^2.1.0",
|
||||
"@logicflow/core": "^0.7.14",
|
||||
"@logicflow/extension": "^0.7.14",
|
||||
"@logicflow/core": "^0.7.16",
|
||||
"@logicflow/extension": "^0.7.16",
|
||||
"@vue/runtime-core": "^3.2.26",
|
||||
"@vue/shared": "^3.2.26",
|
||||
"@vueuse/core": "^7.4.0",
|
||||
"@vueuse/shared": "^7.4.0",
|
||||
"@vueuse/core": "^7.4.1",
|
||||
"@vueuse/shared": "^7.4.1",
|
||||
"@zxcvbn-ts/core": "^1.2.0",
|
||||
"ant-design-vue": "3.0.0-alpha.16",
|
||||
"ant-design-vue": "3.0.0-beta.3",
|
||||
"axios": "^0.24.0",
|
||||
"codemirror": "^5.64.0",
|
||||
"codemirror": "^5.65.0",
|
||||
"cropperjs": "^1.5.12",
|
||||
"crypto-js": "^4.1.1",
|
||||
"dayjs": "^1.10.7",
|
||||
@ -55,7 +55,7 @@
|
||||
"mockjs": "^1.1.0",
|
||||
"nprogress": "^0.2.0",
|
||||
"path-to-regexp": "^6.2.0",
|
||||
"pinia": "2.0.6",
|
||||
"pinia": "2.0.9",
|
||||
"print-js": "^1.6.0",
|
||||
"qrcode": "^1.5.0",
|
||||
"qs": "^6.10.2",
|
||||
@ -63,18 +63,18 @@
|
||||
"showdown": "^1.9.1",
|
||||
"sortablejs": "^1.14.0",
|
||||
"tinymce": "^5.10.2",
|
||||
"vditor": "^3.8.8",
|
||||
"vditor": "^3.8.10",
|
||||
"vue": "^3.2.26",
|
||||
"vue-i18n": "^9.1.9",
|
||||
"vue-json-pretty": "^2.0.6",
|
||||
"vue-json-pretty": "^1.8.2",
|
||||
"vue-router": "^4.0.12",
|
||||
"vue-types": "^4.1.1",
|
||||
"xlsx": "^0.17.4"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@commitlint/cli": "^15.0.0",
|
||||
"@commitlint/config-conventional": "^15.0.0",
|
||||
"@iconify/json": "^2.0.12",
|
||||
"@commitlint/cli": "^16.0.1",
|
||||
"@commitlint/config-conventional": "^16.0.0",
|
||||
"@iconify/json": "^2.0.16",
|
||||
"@purge-icons/generated": "^0.7.0",
|
||||
"@types/codemirror": "^5.60.5",
|
||||
"@types/crypto-js": "^4.0.2",
|
||||
@ -84,28 +84,28 @@
|
||||
"@types/jest": "^27.0.3",
|
||||
"@types/lodash-es": "^4.17.5",
|
||||
"@types/mockjs": "^1.0.4",
|
||||
"@types/node": "^17.0.0",
|
||||
"@types/node": "^17.0.5",
|
||||
"@types/nprogress": "^0.2.0",
|
||||
"@types/qrcode": "^1.4.2",
|
||||
"@types/qs": "^6.9.7",
|
||||
"@types/showdown": "^1.9.4",
|
||||
"@types/sortablejs": "^1.10.7",
|
||||
"@typescript-eslint/eslint-plugin": "^5.7.0",
|
||||
"@typescript-eslint/parser": "^5.7.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.8.1",
|
||||
"@typescript-eslint/parser": "^5.8.1",
|
||||
"@vitejs/plugin-legacy": "^1.6.4",
|
||||
"@vitejs/plugin-vue": "^2.0.1",
|
||||
"@vitejs/plugin-vue-jsx": "^1.3.2",
|
||||
"@vitejs/plugin-vue-jsx": "^1.3.3",
|
||||
"@vue/compiler-sfc": "3.2.26",
|
||||
"@vue/test-utils": "^2.0.0-rc.17",
|
||||
"@vue/test-utils": "^2.0.0-rc.18",
|
||||
"autoprefixer": "^10.4.0",
|
||||
"commitizen": "^4.2.4",
|
||||
"conventional-changelog-cli": "^2.1.1",
|
||||
"conventional-changelog-cli": "^2.2.2",
|
||||
"cross-env": "^7.0.3",
|
||||
"dotenv": "^10.0.0",
|
||||
"eslint": "^8.5.0",
|
||||
"eslint-config-prettier": "^8.3.0",
|
||||
"eslint-define-config": "^1.2.0",
|
||||
"eslint-plugin-jest": "^25.3.0",
|
||||
"eslint-define-config": "^1.2.1",
|
||||
"eslint-plugin-jest": "^25.3.2",
|
||||
"eslint-plugin-prettier": "^4.0.0",
|
||||
"eslint-plugin-vue": "^8.2.0",
|
||||
"esno": "^0.13.0",
|
||||
@ -114,7 +114,7 @@
|
||||
"inquirer": "^8.2.0",
|
||||
"jest": "^27.4.5",
|
||||
"less": "^4.1.2",
|
||||
"lint-staged": "12.1.3",
|
||||
"lint-staged": "12.1.4",
|
||||
"npm-run-all": "^4.1.5",
|
||||
"postcss": "^8.4.5",
|
||||
"postcss-html": "^1.3.0",
|
||||
@ -122,7 +122,7 @@
|
||||
"prettier": "^2.5.1",
|
||||
"rimraf": "^3.0.2",
|
||||
"rollup-plugin-visualizer": "^5.5.2",
|
||||
"stylelint": "^14.1.0",
|
||||
"stylelint": "^14.2.0",
|
||||
"stylelint-config-html": "^1.0.0",
|
||||
"stylelint-config-prettier": "^9.0.3",
|
||||
"stylelint-config-recommended": "^6.0.0",
|
||||
@ -131,20 +131,20 @@
|
||||
"ts-jest": "^27.1.2",
|
||||
"ts-node": "^10.4.0",
|
||||
"typescript": "^4.5.4",
|
||||
"vite": "^2.7.3",
|
||||
"vite-plugin-compression": "^0.3.6",
|
||||
"vite-plugin-html": "^2.1.1",
|
||||
"vite-plugin-imagemin": "^0.4.6",
|
||||
"vite": "^2.7.8",
|
||||
"vite-plugin-compression": "^0.4.0",
|
||||
"vite-plugin-html": "^2.1.2",
|
||||
"vite-plugin-imagemin": "^0.5.1",
|
||||
"vite-plugin-mock": "^2.9.6",
|
||||
"vite-plugin-purge-icons": "^0.7.0",
|
||||
"vite-plugin-pwa": "^0.11.12",
|
||||
"vite-plugin-style-import": "^1.4.0",
|
||||
"vite-plugin-style-import": "^1.4.1",
|
||||
"vite-plugin-svg-icons": "^1.0.5",
|
||||
"vite-plugin-theme": "^0.8.1",
|
||||
"vite-plugin-vue-setup-extend": "^0.1.0",
|
||||
"vite-plugin-windicss": "^1.5.4",
|
||||
"vite-plugin-vue-setup-extend": "^0.3.0",
|
||||
"vite-plugin-windicss": "^1.6.1",
|
||||
"vue-eslint-parser": "^8.0.1",
|
||||
"vue-tsc": "^0.29.8"
|
||||
"vue-tsc": "^0.30.1"
|
||||
},
|
||||
"resolutions": {
|
||||
"bin-wrapper": "npm:bin-wrapper-china",
|
||||
|
1408
pnpm-lock.yaml
generated
1408
pnpm-lock.yaml
generated
File diff suppressed because it is too large
Load Diff
@ -53,7 +53,7 @@
|
||||
import { useLoading } from './hooks/useLoading';
|
||||
import { useRowSelection } from './hooks/useRowSelection';
|
||||
import { useTableScroll } from './hooks/useTableScroll';
|
||||
import { useTableScrollTo } from './hooks/useTableScrollTo';
|
||||
import { useTableScrollTo } from './hooks/useScrollTo';
|
||||
import { useCustomRow } from './hooks/useCustomRow';
|
||||
import { useTableStyle } from './hooks/useTableStyle';
|
||||
import { useTableHeader } from './hooks/useTableHeader';
|
||||
|
@ -24,13 +24,13 @@
|
||||
"@types/koa": "^2.13.4",
|
||||
"@types/koa-bodyparser": "^5.0.2",
|
||||
"@types/koa-router": "^7.4.4",
|
||||
"@types/node": "^17.0.0",
|
||||
"@types/node": "^17.0.5",
|
||||
"nodemon": "^2.0.15",
|
||||
"pm2": "^5.1.2",
|
||||
"rimraf": "^3.0.2",
|
||||
"ts-node": "^10.4.0",
|
||||
"tsconfig-paths": "^3.12.0",
|
||||
"tsup": "^5.11.6",
|
||||
"tsup": "^5.11.9",
|
||||
"typescript": "^4.5.4"
|
||||
}
|
||||
}
|
||||
|
@ -60,8 +60,9 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
|
||||
proxy: createProxy(VITE_PROXY),
|
||||
},
|
||||
build: {
|
||||
target: 'es2015',
|
||||
cssTarget: 'chrome86',
|
||||
minify: false,
|
||||
// target: 'es2015',
|
||||
// cssTarget: 'chrome86',
|
||||
outDir: OUTPUT_DIR,
|
||||
terserOptions: {
|
||||
compress: {
|
||||
|
Loading…
Reference in New Issue
Block a user