Skip to content

Commit

Permalink
Update next-i18next.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
felixmosh authored Jul 30, 2023
1 parent 7cb1b44 commit c7f5422
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/next-with-next-i18next-v13/next-i18next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ module.exports = {
}
: {}),
serializeConfig: false,
// allows reloading translations on each page navigation / a hacky way to reload translations on the server at Next v13
reloadOnPrerender: process.env.NODE_ENV === 'development',
use:
process.env.NODE_ENV !== 'production'
? typeof window !== 'undefined'
Expand Down

0 comments on commit c7f5422

Please sign in to comment.