* Returns the target. * @param {ModuleGraph} moduleGraph the module graph * @param {ResolveTargetFilter} resolveTargetFilter filter function to further resolve target * @returns {TargetItemWithConnection | undefined} the target
(moduleGraph, resolveTargetFilter = RETURNS_TRUE)
| 1639 | * @returns {TargetItemWithConnection | undefined} the target |
| 1640 | */ |
| 1641 | getTarget(moduleGraph, resolveTargetFilter = RETURNS_TRUE) { |
| 1642 | const result = this._getTarget(moduleGraph, resolveTargetFilter, undefined); |
| 1643 | if (result === CIRCULAR) return; |
| 1644 | return result; |
| 1645 | } |
| 1646 | |
| 1647 | /** |
| 1648 | * Returns the target. |
no test coverage detected