diff --git a/next.config.js b/next.config.js index 9cc409a073c..a5d9163bd9c 100644 --- a/next.config.js +++ b/next.config.js @@ -1,3 +1,5 @@ +const { env } = require('process'); + const withBundleAnalyzer = require('@next/bundle-analyzer')({ enabled: process.env.ANALYZE === 'true', }); @@ -10,4 +12,5 @@ module.exports = withBundleAnalyzer({ experimental: { outputStandalone: true, }, + basePath: env.BASE_URL, }); diff --git a/package.json b/package.json index 8b110f68e01..df92b315515 100644 --- a/package.json +++ b/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", "lint": "next lint",