13 lines
434 B
JavaScript
13 lines
434 B
JavaScript
module.exports = {
|
|
defaultNamespace: 'translation',
|
|
lexers: {
|
|
js: ['JsxLexer'], // we're writing jsx inside .js files
|
|
html: ['HTMLLexer'],
|
|
default: ['JavascriptLexer'],
|
|
},
|
|
locales: ['en', 'de'],
|
|
output: 'public/i18n/$LOCALE.json',
|
|
input: [ 'src/*.js', 'public/*.html', ],
|
|
keepRemoved: [/dynamic.*/], //prefixing a key with dynamic. will make it not disappear upon calling i18next
|
|
|
|
} |