Unverified Commit dabf1f66 authored by Tim Neutkens's avatar Tim Neutkens Committed by GitHub

Fix double comma in build manifest (#84131)

## What?

Fixes a bug highlighted by Vercel Agent while moving code in #84125. 

Specific comment:
https://github.com/vercel/next.js/pull/84125/files#r2371621679
parent 7d9b384d
...@@ -72,9 +72,9 @@ export function createEdgeRuntimeManifest( ...@@ -72,9 +72,9 @@ export function createEdgeRuntimeManifest(
`globalThis.__BUILD_MANIFEST.lowPriorityFiles = [\n` + `globalThis.__BUILD_MANIFEST.lowPriorityFiles = [\n` +
manifestFilenames manifestFilenames
.map((filename) => { .map((filename) => {
return `"/static/" + process.env.__NEXT_BUILD_ID + "/${filename}",\n` return `"/static/" + process.env.__NEXT_BUILD_ID + "/${filename}"`
}) })
.join(',') + .join(',\n') +
`\n];` `\n];`
return manifestDefCode + lowPriorityFilesCode return manifestDefCode + lowPriorityFilesCode
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment