mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 10:59:42 +08:00
31544b47cd
* chore: editor开发态国际化 * chore: editor开发态国际化 * 插件不是用ts写的,没有声明 --------- Co-authored-by: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com>
41 lines
775 B
TypeScript
41 lines
775 B
TypeScript
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'
|
|
]
|
|
}
|
|
]
|
|
};
|