Skip to content

Commit

Permalink
Merge branch 'gkong/unused-module' of github.com:parcel-bundler/parce…
Browse files Browse the repository at this point in the history
…l into gkong/unused-module
  • Loading branch information
gorakong committed Mar 1, 2022
2 parents 0dcb66a + 2f50d7e commit e969630
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/packagers/js/src/ScopeHoistingPackager.js
Expand Up @@ -746,8 +746,8 @@ ${code}
);

if (
nullthrows(this.bundleGraph.getUsedSymbols(dep)).has(exportSymbol) ||
resolvedAssetUsedSymbols.has(exportSymbol) ||
nullthrows(this.bundleGraph.getUsedSymbols(dep)).has(exportSymbol) ||
(exportSymbol === 'default' &&
resolvedAssetUsedSymbols.has(exportSymbol)) ||
(exportSymbol === '*' && resolvedAssetUsedSymbols.size > 0)
Expand Down

0 comments on commit e969630

Please sign in to comment.