diff --git a/cache-handler.mts b/cache-handler.mjs similarity index 100% rename from cache-handler.mts rename to cache-handler.mjs diff --git a/next.config.ts b/next.config.ts index 45e0e8a..2045ae2 100644 --- a/next.config.ts +++ b/next.config.ts @@ -53,7 +53,7 @@ const nextConfig: NextConfig = { }, cacheHandler: process.env.NODE_ENV === 'production' - ? require.resolve('./cache-handler.mts') + ? require.resolve('./cache-handler.mjs') : undefined, }; diff --git a/tsconfig.json b/tsconfig.json index 1e47579..3580385 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -24,12 +24,6 @@ }, "forceConsistentCasingInFileNames": true }, - "include": [ - "next-env.d.ts", - "**/*.ts", - "**/*.tsx", - ".next/types/**/*.ts", - "cache-handler.mts" - ], + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], "exclude": ["node_modules"] }