build(projects): 升级依赖、vite配置optimizeDeps
This commit is contained in:
parent
2aba58c973
commit
ee434b465a
16
package.json
16
package.json
@ -60,15 +60,15 @@
|
||||
"@amap/amap-jsapi-types": "^0.0.8",
|
||||
"@commitlint/cli": "^17.0.3",
|
||||
"@commitlint/config-conventional": "^17.0.3",
|
||||
"@iconify/json": "^2.1.85",
|
||||
"@iconify/json": "^2.1.87",
|
||||
"@iconify/vue": "^3.2.1",
|
||||
"@types/bmapgl": "^0.0.5",
|
||||
"@types/crypto-js": "^4.1.1",
|
||||
"@types/node": "^18.6.2",
|
||||
"@types/node": "^18.6.3",
|
||||
"@types/qs": "^6.9.7",
|
||||
"@types/ua-parser-js": "^0.7.36",
|
||||
"@typescript-eslint/eslint-plugin": "^5.31.0",
|
||||
"@typescript-eslint/parser": "^5.31.0",
|
||||
"@typescript-eslint/eslint-plugin": "^5.32.0",
|
||||
"@typescript-eslint/parser": "^5.32.0",
|
||||
"@vitejs/plugin-vue": "^3.0.1",
|
||||
"@vitejs/plugin-vue-jsx": "^2.0.0",
|
||||
"@vue/eslint-config-prettier": "^7.0.0",
|
||||
@ -77,7 +77,7 @@
|
||||
"cross-env": "^7.0.3",
|
||||
"cz-conventional-changelog": "^3.3.0",
|
||||
"cz-customizable": "^6.9.1",
|
||||
"eslint": "^8.20.0",
|
||||
"eslint": "^8.21.0",
|
||||
"eslint-config-airbnb-base": "^15.0.0",
|
||||
"eslint-config-prettier": "^8.5.0",
|
||||
"eslint-import-resolver-alias": "^1.1.2",
|
||||
@ -90,20 +90,20 @@
|
||||
"postinstall-postinstall": "^2.1.0",
|
||||
"prettier": "^2.7.1",
|
||||
"rollup-plugin-visualizer": "^5.7.1",
|
||||
"sass": "^1.54.0",
|
||||
"sass": "^1.54.1",
|
||||
"standard-version": "^9.5.0",
|
||||
"typescript": "^4.7.4",
|
||||
"unocss": "^0.45.1",
|
||||
"unplugin-icons": "^0.14.8",
|
||||
"unplugin-vue-components": "0.21.2",
|
||||
"unplugin-vue-define-options": "^0.6.2",
|
||||
"unplugin-vue-define-options": "^0.7.1",
|
||||
"vite": "^3.0.4",
|
||||
"vite-plugin-compression": "^0.5.1",
|
||||
"vite-plugin-html": "^3.2.0",
|
||||
"vite-plugin-mock": "^2.9.6",
|
||||
"vite-plugin-svg-icons": "^2.0.1",
|
||||
"vue-eslint-parser": "^9.0.3",
|
||||
"vue-tsc": "^0.39.2"
|
||||
"vue-tsc": "^0.39.4"
|
||||
},
|
||||
"homepage": "https://github.com/honghuangdc/soybean-admin",
|
||||
"description": "A fresh and elegant admin template, based on Vue3、Vite3、TypeScript、NaiveUI and UnoCSS. 一个基于Vue3、Vite3、TypeScript、NaiveUI and UnoCSS的清新优雅的中后台模版。",
|
||||
|
@ -8,7 +8,7 @@ const about: AuthRoute.Route = {
|
||||
singleLayout: 'basic',
|
||||
permissions: ['super', 'admin', 'user'],
|
||||
icon: 'fluent:book-information-24-regular',
|
||||
order: 9
|
||||
order: 10
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -37,6 +37,19 @@ export default defineConfig(configEnv => {
|
||||
preview: {
|
||||
port: 5050
|
||||
},
|
||||
optimizeDeps: {
|
||||
include: [
|
||||
'@antv/data-set',
|
||||
'@antv/g2',
|
||||
'@better-scroll/core',
|
||||
'echarts',
|
||||
'swiper',
|
||||
'swiper/vue',
|
||||
'vditor',
|
||||
'wangeditor',
|
||||
'xgplayer'
|
||||
]
|
||||
},
|
||||
build: {
|
||||
reportCompressedSize: false,
|
||||
sourcemap: false,
|
||||
|
Loading…
Reference in New Issue
Block a user