diff options
Diffstat (limited to 'next.config.js')
| -rw-r--r-- | next.config.js | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/next.config.js b/next.config.js index 8b61df4..f7b37d6 100644 --- a/next.config.js +++ b/next.config.js @@ -1,4 +1,18 @@ +const { locales } = require('./lingui.config'); + /** @type {import('next').NextConfig} */ module.exports = { + i18n: { + locales, + defaultLocale: 'fr', + }, reactStrictMode: true, -} + webpack: (config) => { + config.module.rules.push({ + test: /\.po/, + use: ['@lingui/loader'], + }); + + return config; + }, +}; |
