mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-10 04:22:12 +00:00
[next] Update payload flag (#10147)
x-ref: [slack thread](https://vercel.slack.com/archives/C05E6RJTPJS/p1687898295532579)
This commit is contained in:
5
.changeset/hip-otters-turn.md
Normal file
5
.changeset/hip-otters-turn.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@vercel/next": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
[next] Update payload flag
|
||||||
@@ -1092,7 +1092,7 @@ export const build: BuildV2 = async ({
|
|||||||
operationType: 'Page', // always Page because we're in legacy mode
|
operationType: 'Page', // always Page because we're in legacy mode
|
||||||
shouldAddHelpers: false,
|
shouldAddHelpers: false,
|
||||||
shouldAddSourcemapSupport: false,
|
shouldAddSourcemapSupport: false,
|
||||||
supportsMultiPayloads: !!process.env.NEXT_PRIVATE_MULTI_PAYLOAD,
|
supportsMultiPayloads: true,
|
||||||
framework: {
|
framework: {
|
||||||
slug: 'nextjs',
|
slug: 'nextjs',
|
||||||
version: nextVersion,
|
version: nextVersion,
|
||||||
|
|||||||
@@ -821,7 +821,7 @@ export async function createLambdaFromPseudoLayers({
|
|||||||
files,
|
files,
|
||||||
shouldAddHelpers: false,
|
shouldAddHelpers: false,
|
||||||
shouldAddSourcemapSupport: false,
|
shouldAddSourcemapSupport: false,
|
||||||
supportsMultiPayloads: !!process.env.NEXT_PRIVATE_MULTI_PAYLOAD,
|
supportsMultiPayloads: true,
|
||||||
framework: {
|
framework: {
|
||||||
slug: 'nextjs',
|
slug: 'nextjs',
|
||||||
version: nextVersion,
|
version: nextVersion,
|
||||||
|
|||||||
@@ -2,11 +2,6 @@
|
|||||||
"version": 2,
|
"version": 2,
|
||||||
"uploadNowJson": true,
|
"uploadNowJson": true,
|
||||||
"builds": [{ "src": "package.json", "use": "@vercel/next" }],
|
"builds": [{ "src": "package.json", "use": "@vercel/next" }],
|
||||||
"build": {
|
|
||||||
"env": {
|
|
||||||
"NEXT_PRIVATE_MULTI_PAYLOAD": "1"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"probes": [
|
"probes": [
|
||||||
{
|
{
|
||||||
"path": "/lambda",
|
"path": "/lambda",
|
||||||
|
|||||||
Reference in New Issue
Block a user