mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-29 18:48:45 +08:00
8bcf7b4dd5
Co-authored-by: qinhaoyan <30946345+qinhaoyan@users.noreply.github.com>
39 lines
610 B
JavaScript
39 lines
610 B
JavaScript
module.exports = {
|
|
entry: {
|
|
dir: './src'
|
|
},
|
|
file: {
|
|
test: /.*(ts|tsx|js|jsx)$/
|
|
},
|
|
includes: ['src/renderers'],
|
|
ignore: {
|
|
list: ['src/*']
|
|
},
|
|
importInfo: {
|
|
source: 'i18n-runtime',
|
|
imported: 'i18n',
|
|
local: '_i18n'
|
|
},
|
|
i18nModule: 'i18n-runtime',
|
|
languages: [
|
|
{
|
|
name: 'en-US',
|
|
path: './src/locale'
|
|
},
|
|
{
|
|
name: 'zh-CN',
|
|
path: './src/locale'
|
|
}
|
|
],
|
|
output: {
|
|
fileName: 'theme-editor-i18n',
|
|
fileExtension: 'xlsx',
|
|
path: './'
|
|
},
|
|
translate: {
|
|
appId: '',
|
|
key: '',
|
|
host: 'http://api.fanyi.baidu.com'
|
|
}
|
|
};
|