diff --git a/next.config.js b/next.config.js index 0bdc028..9393371 100644 --- a/next.config.js +++ b/next.config.js @@ -1,4 +1,4 @@ -import createNextIntlPlugin from 'next-intl/plugin'; +const createNextIntlPlugin = require('next-intl/plugin'); /** @type {import('next').NextConfig} */ const nextConfig = { @@ -18,9 +18,8 @@ const nextConfig = { } }; -const withNextIntl = createNextIntlPlugin(); +const withNextIntl = createNextIntlPlugin('./app/i18n.ts'); const nextConfigIntl = withNextIntl(nextConfig); -export default nextConfigIntl; -// module.exports = nextConfigIntl; \ No newline at end of file +module.exports = nextConfigIntl; \ No newline at end of file