Disable standalone output on Vercel builds
This commit is contained in:
1 parent
823fd0e607
commit
ba78b9a5c2
1 file changed
+2
-1
+2
-1
@@ -9,6 +9,7 @@ const TRACKER_SCRIPT = '/script.js';
|
||||
const RECORDER_SCRIPT = '/recorder.js';
|
||||
|
||||
const isProd = process.env.NODE_ENV === 'production';
|
||||
const isVercel = Boolean(process.env.VERCEL);
|
||||
|
||||
const apiUrl = process.env.API_URL || '';
|
||||
const basePath = process.env.BASE_PATH || '';
|
||||
@@ -219,7 +220,7 @@ export default withNextIntl({
|
||||
selfRecord,
|
||||
},
|
||||
basePath,
|
||||
output: 'standalone',
|
||||
output: isVercel ? undefined : 'standalone',
|
||||
typescript: {
|
||||
ignoreBuildErrors: true,
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user