mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-09 12:57:46 +00:00
[node] Fix ESM dependency support (#9692)
This commit is contained in:
@@ -149,7 +149,7 @@ async function runProbe(probe, deploymentId, deploymentUrl, ctx) {
|
||||
// we must eval it since we use devalue to stringify it
|
||||
global.__BUILD_MANIFEST_CB = null;
|
||||
ctx.nextBuildManifest = eval(
|
||||
`self = {};` + manifestContent + `;self.__BUILD_MANIFEST`
|
||||
`var self = {};` + manifestContent + `;self.__BUILD_MANIFEST`
|
||||
);
|
||||
}
|
||||
let scriptRelativePath = ctx.nextBuildManifest[scriptName];
|
||||
|
||||
Reference in New Issue
Block a user