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"] }