We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bc779b commit 9b440c0Copy full SHA for 9b440c0
next.config.js
@@ -1,3 +1,5 @@
1
+const { env } = require('process');
2
+
3
const withBundleAnalyzer = require('@next/bundle-analyzer')({
4
enabled: process.env.ANALYZE === 'true',
5
});
@@ -10,4 +12,5 @@ module.exports = withBundleAnalyzer({
10
12
experimental: {
11
13
outputStandalone: true,
14
},
15
+ basePath: env.BASE_URL,
16
package.json
@@ -11,7 +11,7 @@
"dev": "next dev",
"build": "next build",
"analyze": "ANALYZE=true next build",
- "start": "next start --port 7575",
+ "start": "next start",
"typecheck": "tsc --noEmit",
"export": "next build && next export",
17
"lint": "next lint",
0 commit comments