An external is only considered resolvable if it resolves to the same path as the collected external
This commit is contained in:
@@ -59,6 +59,19 @@ async function isExternalResolvable(
|
||||
resolvedPath,
|
||||
});
|
||||
|
||||
if (!resolvedPath.includes(external.path)) {
|
||||
logger.debug(
|
||||
"[externals][isExternalResolvable] resolvedPath does not match the external.path",
|
||||
{
|
||||
resolveDir,
|
||||
external,
|
||||
resolvedPath,
|
||||
}
|
||||
);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
} catch (e) {
|
||||
logger.debug("[externals][isExternalResolvable] Unable to resolve external", {
|
||||
|
||||
Reference in New Issue
Block a user