We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46806c8 commit 4f1ca9fCopy full SHA for 4f1ca9f
packages/core/src/config.ts
@@ -1028,6 +1028,9 @@ const composeBundlelessExternalConfig = (
1028
),
1029
);
1030
1031
+ // Requests that fall through here cannot be matched by any other externals config ahead.
1032
+ // Treat all these requests as relative import of source code. Node.js won't add the
1033
+ // leading './' to the relative path resolved by `path.relative`. So add manually it here.
1034
if (resolvedRequest[0] !== '.') {
1035
resolvedRequest = `./${resolvedRequest}`;
1036
}
0 commit comments