From 054de34b683ae7348eae44322ae17cbf607f306c Mon Sep 17 00:00:00 2001 From: Shreerang Kale Date: Fri, 18 Jul 2025 18:58:46 +0530 Subject: [PATCH] Update next config file format --- next.config.ts => next.config.mjs | 4 ++-- tsconfig.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename next.config.ts => next.config.mjs (88%) diff --git a/next.config.ts b/next.config.mjs similarity index 88% rename from next.config.ts rename to next.config.mjs index a4ae642..ee3161c 100644 --- a/next.config.ts +++ b/next.config.mjs @@ -1,6 +1,6 @@ -import type { NextConfig } from "next"; +/** @type {import('next').NextConfig} */ -const nextConfig: NextConfig = { +const nextConfig = { /* config options here */ typescript: { // !! WARN !! diff --git a/tsconfig.json b/tsconfig.json index c133409..7a51449 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -22,6 +22,6 @@ "@/*": ["./src/*"] } }, - "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", "next.config.mjs"], "exclude": ["node_modules"] }