From 3a459b73a1b2d0a83dad6eff553a97a678455135 Mon Sep 17 00:00:00 2001 From: "[dyad]" Date: Fri, 30 Jan 2026 09:47:27 +0100 Subject: [PATCH] [dyad] Fixed Next.js configuration file format - wrote 1 file(s), renamed 1 file(s) --- next.config.ts => next.config.mjs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) rename next.config.ts => next.config.mjs (74%) diff --git a/next.config.ts b/next.config.mjs similarity index 74% rename from next.config.ts rename to next.config.mjs index a23e855..36dd85a 100644 --- a/next.config.ts +++ b/next.config.mjs @@ -1,6 +1,5 @@ -import type { NextConfig } from "next"; - -const nextConfig: NextConfig = { +/** @type {import('next').NextConfig} */ +const nextConfig = { webpack: (config) => { if (process.env.NODE_ENV === "development") { config.module.rules.push({ @@ -14,4 +13,4 @@ const nextConfig: NextConfig = { }, }; -export default nextConfig; +export default nextConfig; \ No newline at end of file