diff --git a/next.config.ts b/next.config.ts index 216246d..2c79c22 100644 --- a/next.config.ts +++ b/next.config.ts @@ -1,7 +1,10 @@ import type { NextConfig } from "next"; +const isProd = process.env.NODE_ENV === "production"; + const nextConfig: NextConfig = { - output: "export", // <=== enables static exports + output: isProd ? "export" : undefined, + basePath: isProd ? "/transeptor-landing": "", }; export default nextConfig;