update
This commit is contained in:
+8
-6
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user