We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2892e46 + 8470d22 commit 1751b6fCopy full SHA for 1751b6f
docs/next-js/next.config.ts
@@ -2,14 +2,14 @@ import type { NextConfig } from "next";
2
3
const isProd = process.env.NODE_ENV === 'production';
4
const basePath = isProd ? (process.env.BASE_PATH || '') : '';
5
-const assetPrefix = isProd ? (basePath ? `${basePath.replace(/\/$/, '')}/` : './') : '';
+// const assetPrefix = isProd ? (basePath ? `${basePath.replace(/\/$/, '')}/` : './') : '';
6
7
const nextConfig: NextConfig = {
8
/* config options here */
9
output: 'export' as const,
10
basePath: basePath,
11
trailingSlash: true,
12
- assetPrefix: assetPrefix,
+ // assetPrefix: assetPrefix,
13
images: {
14
unoptimized: true,
15
},
0 commit comments