mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Update debug flag in with-react-i18next example (#3964)
Do not set it to true in production
This commit is contained in:
parent
2e641e9e8c
commit
d5ce7aa3ca
|
@ -10,7 +10,7 @@ const options = {
|
||||||
ns: ['common'],
|
ns: ['common'],
|
||||||
defaultNS: 'common',
|
defaultNS: 'common',
|
||||||
|
|
||||||
debug: true,
|
debug: process.env.NODE_ENV !== 'production',
|
||||||
saveMissing: true,
|
saveMissing: true,
|
||||||
|
|
||||||
interpolation: {
|
interpolation: {
|
||||||
|
|
Loading…
Reference in a new issue