Commit edc8b9d4 authored by Niklas Mischkulnig's avatar Niklas Mischkulnig

don't put .next/BUILD_ID into serverless function

parent 46f4b309
......@@ -2009,7 +2009,9 @@ export default async function build(
path.join(SERVER_DIRECTORY, DYNAMIC_CSS_MANIFEST + '.js'),
]
: []),
BUILD_ID_FILE,
// When deploymentId is available, headers are used for softnavs, and the build id
// isn't needed anymore.
...(config.deploymentId ? [BUILD_ID_FILE] : []),
path.join(SERVER_DIRECTORY, NEXT_FONT_MANIFEST + '.js'),
path.join(SERVER_DIRECTORY, NEXT_FONT_MANIFEST + '.json'),
SERVER_FILES_MANIFEST + '.json',
......
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