Fix Build Issues

This commit is contained in:
Ahmad 2025-01-19 01:14:55 -05:00
parent fe7ceb60b2
commit be70b88925
No known key found for this signature in database
GPG key ID: 8FD8A93530D182BF
3 changed files with 2 additions and 8 deletions

View file

@ -53,7 +53,7 @@ const nextConfig: NextConfig = {
},
cacheHandler:
process.env.NODE_ENV === 'production'
? require.resolve('./cache-handler.mts')
? require.resolve('./cache-handler.mjs')
: undefined,
};

View file

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