chore:解决控制台关于vue-i18n的告警

This commit is contained in:
xushihao 2022-10-25 09:55:18 +08:00
parent c1e1610837
commit 08ccc64873

View File

@ -22,6 +22,10 @@ export default defineConfig({
{ {
find: '@', find: '@',
replacement: pathResolve('src') replacement: pathResolve('src')
},
{
find: 'vue-i18n',
replacement: 'vue-i18n/dist/vue-i18n.cjs.js', //解决i8n警告
} }
], ],
dedupe: ['vue'] dedupe: ['vue']