perf: 移除md5依赖

This commit is contained in:
xingyu 2022-07-18 16:22:05 +08:00
parent ea28cdd9d1
commit a123097f1f
2 changed files with 2 additions and 6 deletions

View File

@ -37,7 +37,6 @@
"echarts-wordcloud": "^2.0.0",
"element-plus": "2.2.9",
"intro.js": "^6.0.0",
"js-md5": "^0.7.3",
"lodash-es": "^4.17.21",
"mitt": "^3.0.0",
"mockjs": "^1.1.0",
@ -60,7 +59,6 @@
"@intlify/vite-plugin-vue-i18n": "^5.0.0",
"@purge-icons/generated": "^0.8.1",
"@types/intro.js": "^5.1.0",
"@types/js-md5": "^0.4.3",
"@types/lodash-es": "^4.17.6",
"@types/node": "^18.0.6",
"@types/nprogress": "^0.2.0",
@ -107,7 +105,7 @@
"windicss-analysis": "^0.3.5"
},
"engines": {
"node": ">= 14.0.0"
"node": ">= 14.18.0"
},
"license": "MIT",
"repository": {

View File

@ -20,7 +20,6 @@ function pathResolve(dir: string) {
return resolve(root, '.', dir)
}
// https://vitejs.dev/config/
export default ({ command, mode }: ConfigEnv): UserConfig => {
let env = {} as any
const isBuild = command === 'build'
@ -146,8 +145,7 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
'intro.js',
'qrcode',
'@wangeditor/editor',
'@wangeditor/editor-for-vue',
'js-md5'
'@wangeditor/editor-for-vue'
]
}
}