diff --git a/packages/packagers/js/src/ScopeHoistingPackager.js b/packages/packagers/js/src/ScopeHoistingPackager.js index 35490b62ea3..88c9bda1e0b 100644 --- a/packages/packagers/js/src/ScopeHoistingPackager.js +++ b/packages/packagers/js/src/ScopeHoistingPackager.js @@ -745,11 +745,8 @@ ${code} this.bundleGraph.getUsedSymbols(resolvedAsset), ); - // Check to see if the exportSymbol is in the resolved asset - // or the dependency's set of used symbols, - // or if any of the resolved asset's dependencies export the symbol. - // If the exportSymbol is 'default', check that the - // default export from the resolved asset is used. + // Check to see if the exportSymbol is in the resolved asset or the dependency's + // set of used symbols, or if any of the resolved asset's dependencies export the symbol. // If the exportSymbol is '*', a non-empty set of the resolved asset's used symbols // indicates the export(s) is used. let isExportSymbolUsed =