From 74a7da4626ff1ec7bd577ab2b8c262e3a445a659 Mon Sep 17 00:00:00 2001 From: Gora Kong Date: Wed, 23 Mar 2022 17:04:28 -0700 Subject: [PATCH] clean up comment --- packages/packagers/js/src/ScopeHoistingPackager.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 =