fix(build): 修复构建报错
This commit is contained in:
parent
9c0f0f7152
commit
a21c295b8a
|
@ -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',
|
||||||
|
|
Loading…
Reference in New Issue