kopia lustrzana https://github.com/mifi/lossless-cut
22 wiersze
419 B
JavaScript
22 wiersze
419 B
JavaScript
export default {
|
|
input: ['src/**/*.{js,jsx,ts,tsx}', 'public/*.{js,ts}'],
|
|
|
|
output: 'public/locales/$LOCALE/$NAMESPACE.json',
|
|
indentation: 4,
|
|
|
|
sort: true,
|
|
|
|
locales: ['en'],
|
|
|
|
lexers: {
|
|
js: ['JavascriptLexer'],
|
|
jsx: ['JsxLexer'],
|
|
},
|
|
|
|
defaultValue: (lng, ns, key) => key,
|
|
|
|
// Keep in sync between i18next-parser.config.js and i18n-common.js:
|
|
keySeparator: false,
|
|
namespaceSeparator: false,
|
|
};
|