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',