fix(build): 修复构建报错

This commit is contained in:
baiqi 2023-09-11 19:26:10 +08:00 committed by 刘瑞斌
parent 9c0f0f7152
commit a21c295b8a
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ export default defineConfig({
}, },
{ {
find: 'vue-i18n', 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', find: 'vue',