First, update your switch to version 4.0
Next, you need the Wii U GC controller USB adapter that was originally released for Smash 4.
Connect your GC controller to that.
Finally, press the L and R buttons. Your Switch will treat the GC controller as a USB controller.
I tried that. Didn't detect them, but my Wii does.
You know it deserves the GOTY.