Skip to content

Commit

Permalink
reexport star doesn't include default
Browse files Browse the repository at this point in the history
  • Loading branch information
mischnic committed Sep 12, 2022
1 parent 3092d3c commit 9d83c69
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/core/core/src/requests/AssetGraphRequest.js
Expand Up @@ -481,6 +481,10 @@ export class AssetGraphBuilder {

if (outgoingDepSymbols.get('*')?.local === '*') {
outgoingDep.usedSymbolsUp.forEach((sResolved, s) => {
if (s === 'default') {
return;
}

// If the symbol could come from multiple assets at runtime, assetNode's
// namespace will be needed at runtime to perform the lookup on.
if (reexportedSymbols.has(s)) {
Expand Down

0 comments on commit 9d83c69

Please sign in to comment.