mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-09 04:22:07 +00:00
[node][remix] Update nft conditions to include "edge-light" for Edge Functions (#9700)
This commit is contained in:
@@ -540,7 +540,7 @@ async function createRenderEdgeFunction(
|
||||
const trace = await nodeFileTrace([handlerPath], {
|
||||
base: rootDir,
|
||||
processCwd: entrypointDir,
|
||||
conditions: ['worker', 'browser'],
|
||||
conditions: ['edge-light', 'browser', 'module', 'import', 'require'],
|
||||
async readFile(fsPath) {
|
||||
let source: Buffer | string;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user