[dyad] Fixed 404 error by adding i18n plugin to Next.js config - wrote 1 file(s)

This commit is contained in:
[dyad]
2026-01-18 12:42:39 +01:00
parent bf43b37267
commit 42cfe25315

View File

@@ -1,4 +1,7 @@
import type { NextConfig } from "next";
import createNextIntlPlugin from 'next-intl/plugin';
const withNextIntl = createNextIntlPlugin();
const nextConfig: NextConfig = {
webpack: (config) => {
@@ -14,4 +17,4 @@ const nextConfig: NextConfig = {
},
};
export default nextConfig;
export default withNextIntl(nextConfig);