Remove basePath from Next.js config to simplify configuration and avoid potential issues with path resolution

This commit is contained in:
Bram Suurd 2024-11-06 21:31:39 +01:00
parent ee91f7efd3
commit d9a6b8bdd3

View File

@ -1,5 +1,3 @@
import { basePath } from '@/config/siteConfig';
/** @type {import('next').NextConfig} */ /** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
webpack: (config) => { webpack: (config) => {
@ -17,7 +15,6 @@ const nextConfig = {
}, },
output: "export", output: "export",
basePath: basePath,
}; };
export default nextConfig; export default nextConfig;