Update next.config.js

To resolve the runtime error:warn  - "next start" does not work with "output: standalone" configuration. Use "node .next/standalone/server.js" instead.
This commit is contained in:
ROYWANG 2023-08-20 09:17:27 +08:00 committed by GitHub
parent 7be4d56bf7
commit 391971794b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -78,7 +78,6 @@ const config = {
isProduction: process.env.NODE_ENV === 'production', isProduction: process.env.NODE_ENV === 'production',
}, },
basePath: process.env.BASE_PATH, basePath: process.env.BASE_PATH,
output: 'standalone',
eslint: { eslint: {
ignoreDuringBuilds: true, ignoreDuringBuilds: true,
}, },