if (resolvedSymbol) {
            targets
              .get(resolvedSymbol.asset)
              .set(symbol, resolvedSymbol.symbol ?? symbol);
          }
Produce a BundleGraph from an AssetGraph by removing asset groups and retargeting dependencies
based on the symbol data (resolving side-effect free reexports).