fix: Fix i18n infrastructure
Add dev dependency fix paths and key names so that the default HTML lexer can pick them up
This commit is contained in:
@@ -2,9 +2,10 @@ module.exports = {
|
||||
defaultNamespace: 'translation',
|
||||
lexers: {
|
||||
js: ['JsxLexer'], // we're writing jsx inside .js files
|
||||
html: ['HTMLLexer'],
|
||||
default: ['JavascriptLexer'],
|
||||
},
|
||||
locales: ['en', 'de'],
|
||||
output: 'public/lang/$LOCALE.json',
|
||||
output: 'public/i18n/$LOCALE.json',
|
||||
input: [ 'src/*.js', 'public/*.html', ],
|
||||
}
|
||||
Reference in New Issue
Block a user