I don't think it is much of an issue in most escenarios. You have plenty of hardpoints at the root of the wings, intakes and between the nacelles, all of which are accesible with the wings folded while leaving the AAM's on the folded wings if the airplane is on QRA, not unlike the Hornets and their wingtip AAM's.I think PLA took the lesson on J-15. Because the wings are folded too much, most hard points on the wings are inaccessible once the wings are folded. So PLA prefer easier and faster operation to smaller footprint
In theory, the only issue would be the hardpoints on the folded wings closest to the mechanism, but I don't know if they are rated for anything heavier than AAM on the J-15. That said, even ground Flankers other than the Su-34 don't tend to carry anything heavier than an AAM on hardpoints beyond 11 and 12