diff options
Diffstat (limited to 'next.config.js')
| -rw-r--r-- | next.config.js | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/next.config.js b/next.config.js index 8492d0d..55c852a 100644 --- a/next.config.js +++ b/next.config.js @@ -4,7 +4,7 @@ const { locales } = require('./lingui.config'); const backendDomain = process.env.BACKEND_URL.split('//')[1]; /** @type {import('next').NextConfig} */ -module.exports = { +const nextConfig = { i18n: { locales, defaultLocale: 'fr', @@ -55,3 +55,13 @@ module.exports = { return config; }, }; + +const withMDX = require('@next/mdx')({ + extension: /\.mdx?$/, + options: { + remarkPlugins: [], + rehypePlugins: [], + }, +}); + +module.exports = withMDX(nextConfig); |
