This commit is contained in:
Hamed
2026-08-06 08:01:35 +04:00
parent fe1f17f740
commit aa6cb26b46
92 changed files with 135 additions and 243 deletions
+8 -6
View File
@@ -1,4 +1,7 @@
/** @type {import('next').NextConfig} */
const basePath = process.env.NEXT_PUBLIC_BASE_PATH || '';
const nextConfig = {
reactStrictMode: true,
// AntD ships CJS + uses some patterns that benefit from transpilation in the App Router.
@@ -7,13 +10,12 @@ const nextConfig = {
output: 'export',
distDir: 'docs',
images: {unoptimized: true},
images: {
unoptimized: true,
},
basePath: '/robot-market-landing',
assetPrefix: '/robot-market-landing/',
trailingSlash: true,
basePath: basePath || undefined,
assetPrefix: basePath || undefined,
};
module.exports = nextConfig;