Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mischnic committed Nov 19, 2022
1 parent 391c1a9 commit fbe9fde
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/core/src/BundleGraph.js
Expand Up @@ -215,6 +215,7 @@ export default class BundleGraph {
node.usedSymbolsUp.size > 0 &&
// Only perform rewriting if the dependency only points to a single asset (e.g. CSS modules)
!hasAmbiguousSymbols &&
!node.usedSymbolsUp.has('*') &&
// TODO We currently can't rename imports in async imports, e.g. from
// (parcelRequire("...")).then(({ a }) => a);
// to
Expand Down

0 comments on commit fbe9fde

Please sign in to comment.