It wouldn't.
Nothing would.
The potential power output of our star is far larger than most people assume, its far larger than most people are capable of understanding.
If you get to grab solar output and aim it like an energy weapon, whatever you point it at will just.... not be there anymore.
No joke, the kind of power were talking about doesn't really have a sane reference frame. Uhh, the PC you're reading this from has between a 500 to 1000 watt power supply. You get billed by your power company in kilowatt hours so between half and one unit of power to run it for an hour. (not really, cause draw depends on how hard you're working it and the power supply is rated at max, but whatever easy math.)
The suns output is around 400,000,000,000,000,000,000,000,000 watts an hour.
Or around 33 trillion times our species current total energy budget.
You just flat out, can not build something that cant stand up to that kind of hit.