mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-02 03:58:07 +08:00
调整i18n配置
Change-Id: I71f51f1cd0878a4cbc3198fd4b0b810388b559e6
This commit is contained in:
parent
1e96136cd6
commit
7cd9ac5f2c
@ -6,25 +6,25 @@ module.exports = {
|
||||
test: /.*(ts|tsx|js|jsx)$/
|
||||
},
|
||||
ignore: {
|
||||
list: ['src/icons', 'src/local']
|
||||
list: ['src/icons', '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: 'editor-i18n',
|
||||
fileExtension: 'xlsx',
|
||||
path: './'
|
||||
|
@ -1,5 +1,5 @@
|
||||
import 'amis';
|
||||
import './local/index';
|
||||
import './locale/index';
|
||||
export * from 'amis-editor-core';
|
||||
import './tpl/index';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user