1
0
Fork 0
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:
Alexander Kachkaev 2018-03-07 08:31:03 +00:00 committed by Tim Neutkens
parent 2e641e9e8c
commit d5ce7aa3ca

View file

@ -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: {