🔧 chore: Update i18n config
parent
e4f52b63c8
commit
7af7d63614
|
|
@ -1,10 +1,10 @@
|
|||
const { description } = require('./package.json');
|
||||
const { defineConfig } = require('@lobehub/i18n-cli');
|
||||
|
||||
const options = require('./locales/options.json');
|
||||
|
||||
const outputLocales = options.map((item) => item.value).filter((item) => item !== 'en_US');
|
||||
|
||||
module.exports = defineConfig({
|
||||
module.exports = {
|
||||
reference: description,
|
||||
entry: 'locales/en_US.json',
|
||||
entryLocale: 'en_US',
|
||||
|
|
@ -23,4 +23,4 @@ module.exports = defineConfig({
|
|||
return `.${locale.replace('_', '-')}.md`;
|
||||
},
|
||||
},
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue