You can't really build one without the other improving by consequence.
It all comes down to time efficiency for your goal. A powerlifter will built muscle if they're willing to put in the volume. But due to the extended rest breaks needed for powerlifting, you'd be there for hours.
The reason people say the 8-12 rep range is best for building muscle is because it's the sweet spot where you fatigue the muscles, but don't require long rest breaks. It's not as taxing on the CNS so you recover faster.