diff --git a/packages/amis-editor-core/i18nConfig.js b/packages/amis-editor-core/i18nConfig.js index d874d8a96..cfd41d9a3 100644 --- a/packages/amis-editor-core/i18nConfig.js +++ b/packages/amis-editor-core/i18nConfig.js @@ -6,25 +6,25 @@ module.exports = { test: /.*(ts|tsx|js|jsx)$/ }, ignore: { - list: ['src/local'] + list: ['src/locale'] }, importInfo: { source: 'i18n-runtime', imported: 'i18n', local: '_i18n' }, - i18nModule: 'amis-core', + i18nModule: 'i18n-runtime', languages: [ { name: 'en-US', - path: './src/local' + path: './src/locale' }, { name: 'zh-CN', - path: './src/local' + path: './src/locale' } ], - init: { + output: { fileName: 'eidtor-core-i18n', fileExtension: 'xlsx', path: './'