精简后的项目:仅保留 api/ui 源码、文档、构建依赖
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
module.exports = {
|
||||
defaultValue: function (locale, namespace, key, value) {
|
||||
if (locale != 'en') {
|
||||
return '';
|
||||
}
|
||||
return value || key;
|
||||
},
|
||||
sort: true,
|
||||
locales: [
|
||||
'da',
|
||||
'de',
|
||||
'en',
|
||||
'es',
|
||||
'fr',
|
||||
'it',
|
||||
'ja',
|
||||
'nl',
|
||||
'pl',
|
||||
'pt',
|
||||
'ru',
|
||||
'sv',
|
||||
'uk',
|
||||
'zh-CN',
|
||||
'zh-HK',
|
||||
'zh-TW',
|
||||
],
|
||||
input: 'src/**/*.{js,ts,jsx,tsx}',
|
||||
output: 'src/extractedTranslations/$LOCALE/$NAMESPACE.json',
|
||||
}
|
||||
Reference in New Issue
Block a user