From a123097f1f38eac45e945c7d3fdccafc16ea9b69 Mon Sep 17 00:00:00 2001 From: xingyu Date: Mon, 18 Jul 2022 16:22:05 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E7=A7=BB=E9=99=A4md5=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 4 +--- vite.config.ts | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 6a7ac17..62d094f 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/vite.config.ts b/vite.config.ts index 84655f7..c41b5be 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -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' ] } }