Skip to content

Commit 824ff3f

Browse files
committed
remove the basePath configuration for vercel
1 parent 1baeaba commit 824ff3f

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

next.config.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,8 @@ const withBundleAnalyzer = require("@next/bundle-analyzer")({
22
enabled: false, //process.env.ANALYZE === 'true',
33
});
44

5-
const isProd = process.env.VERCEL_ENV === "production"; // or NODE_ENV === 'production'
6-
75
module.exports = withBundleAnalyzer({
86
swcMinify: true,
97
reactStrictMode: true,
108
output: "standalone",
11-
basePath: isProd ? "/try/sandbox" : "",
12-
assetPrefix: isProd ? "/try/sandbox/" : "",
139
});

0 commit comments

Comments
 (0)