diff --git a/next.config.ts b/next.config.js similarity index 63% rename from next.config.ts rename to next.config.js index a23e855..efa196e 100644 --- a/next.config.ts +++ b/next.config.js @@ -1,6 +1,7 @@ -import type { NextConfig } from "next"; +const withNextIntl = require('next-intl/plugin')('./src/i18n.ts'); -const nextConfig: NextConfig = { +/** @type {import('next').NextConfig} */ +const nextConfig = { webpack: (config) => { if (process.env.NODE_ENV === "development") { config.module.rules.push({ @@ -14,4 +15,4 @@ const nextConfig: NextConfig = { }, }; -export default nextConfig; +module.exports = withNextIntl(nextConfig); \ No newline at end of file