mirror of
https://gitee.com/baidu/amis.git
synced 2024-12-03 20:39:07 +08:00
38 lines
620 B
JavaScript
38 lines
620 B
JavaScript
|
module.exports = {
|
||
|
entry: {
|
||
|
dir: './src'
|
||
|
},
|
||
|
file: {
|
||
|
test: /.*(ts|tsx|js|jsx)$/
|
||
|
},
|
||
|
ignore: {
|
||
|
list: ['src/icons', 'src/local']
|
||
|
},
|
||
|
importInfo: {
|
||
|
source: 'i18n-runtime',
|
||
|
imported: 'i18n',
|
||
|
local: '_i18n'
|
||
|
},
|
||
|
i18nModule: 'amis-core',
|
||
|
languages: [
|
||
|
{
|
||
|
name: 'en-US',
|
||
|
path: './src/local'
|
||
|
},
|
||
|
{
|
||
|
name: 'zh-CN',
|
||
|
path: './src/local'
|
||
|
}
|
||
|
],
|
||
|
init: {
|
||
|
fileName: 'editor-i18n',
|
||
|
fileExtension: 'xlsx',
|
||
|
path: './'
|
||
|
},
|
||
|
translate: {
|
||
|
appId: '20220810001301703',
|
||
|
key: 'WW7jKaJJBrtCawTOkCpk',
|
||
|
host: 'http://api.fanyi.baidu.com'
|
||
|
}
|
||
|
};
|