443 Star 3.9K Fork 1K

GVP百度开源 / amis

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
i18nConfig.ts 775 Bytes
一键复制 编辑 原始数据 按行查看 历史
qkiroc 提交于 2023-08-22 15:25 . chore: editor开发态国际化 (#7903)
export default {
entry: {
dir: './packages/amis-editor-core/src'
},
file: {
test: /.*(ts|tsx|js|jsx)$/
},
ignore: {
list: [
'packages/**/locale/*',
'packages/amis/*',
'packages/amis-ui/*',
'packages/amis-core/*',
'packages/amis-formula/*',
'packages/**/examples/*'
]
},
importInfo: {
source: 'i18n-runtime',
imported: 'i18n',
local: '_i18n'
},
i18nModule: 'i18n-runtime',
languages: [
{
name: 'en-US',
path: [
'./packages/amis-editor-core/src/locale',
'./packages/amis-editor/src/locale'
]
},
{
name: 'zh-CN',
path: [
'./packages/amis-editor-core/src/locale',
'./packages/amis-editor/src/locale'
]
}
]
};
TypeScript
1
https://gitee.com/baidu/amis.git
git@gitee.com:baidu/amis.git
baidu
amis
amis
master

搜索帮助