Edit: A lot of people say, that GWM needs a melee weapon attack, but they miss Jesses point: While GWM requires a melee attack with a heavy weapon, Sharpshooters only criteria is an attack with a ranged weapon (not a ranged weapon attack). Jesse bases his claim on the fact, that a crossbow is still a ranged weapon, even if used as an improvised weapon for melee combat. That’s why it deals 1d4(!)+20 damage. (It works with any ranged, heavy weapon btw., so Longbow qualifies too.) Of course Jesse is playing the devils advocate here and of course, no somewhat sane Walter will allow this in any campaign ever, as it’s obviously not the intention behind these feats. But you could read it that way and that’s Jesses (paperthin) point. Besides: he finds the image of a barbarian running around recklessly smashing a crossbow over everyone’s head to just be hilarious.
Looks like I was dead wrong here- turns out there’s another JC tweet that says: “If you use a weapon in a way that turns it into an improvised weapon—such as smacking someone with a bow—that weapon has none of its regular properties, unless the DM rules otherwise.” So bonking people with a crossbow wouldn’t count for GWM because the crossbow isn’t heavy when you’re not shooting it
So JC supports the reading that the weapon becomes an Inprovised Weapon that doesn’t have any properties then. (Honestly, I feel like Improvised Weapons, along with Unarmed Attacks, could probably be on the table of weapons.)