fix(ext/node): add findSourceMap to the default export of node:module (#26720)

Next.js 15.0.2 tries to use this and errors out
This commit is contained in:
Nathan Whitaker 2024-11-04 13:08:29 -08:00 committed by GitHub
parent bb3ca84e6d
commit 84aee0be9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1312,6 +1312,8 @@ export function findSourceMap(_path) {
return undefined;
}
Module.findSourceMap = findSourceMap;
/**
* @param {string | URL} _specifier
* @param {string | URL} _parentUrl