From a21c295b8aa3874c4a24fde2acfb17f562ede586 Mon Sep 17 00:00:00 2001 From: baiqi Date: Mon, 11 Sep 2023 19:26:10 +0800 Subject: [PATCH] =?UTF-8?q?fix(build):=20=E4=BF=AE=E5=A4=8D=E6=9E=84?= =?UTF-8?q?=E5=BB=BA=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/config/vite.config.base.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/config/vite.config.base.ts b/frontend/config/vite.config.base.ts index 24e2992d8e..ab28e2d531 100644 --- a/frontend/config/vite.config.base.ts +++ b/frontend/config/vite.config.base.ts @@ -35,7 +35,7 @@ export default defineConfig({ }, { find: 'vue-i18n', - replacement: 'vue-i18n/dist/vue-i18n.cjs.js', // Resolve the i18n warning issue + replacement: 'vue-i18n/dist/vue-i18n.esm-bundler.js', // 解决 vue-i18n 依赖包报错 }, { find: 'vue',