We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1751b6f commit 0e9f2e4Copy full SHA for 0e9f2e4
docs/next-js/next.config.ts
@@ -2,7 +2,8 @@ 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(/\/$/, '')}/` : './') : '';
+
6
+console.log("BASE_PATH", basePath)
7
8
const nextConfig: NextConfig = {
9
/* config options here */
0 commit comments