I find it interesting that Taiwan is making a major investment in modifying inexpensive, ground based, training aircraft for use in carrying anti-ship missiles. The goal is to defeat an incoming Chinese war fleet in the event of an invasion.
I've frequently wondered, along the same lines, if the U.S. hasn't invested too much in using surface combatants, which are expensive, slow to marshal to the theater of operations, relatively vulnerable and put many lives at risk if hit, to carry out this mission, and too few land based aircraft (deploying from places like Guam and Okinawa) for this task.
Ground based aircraft can't be deterred by Chinese or North Korean submarines, and like surface warships, can launch their anti-ship missiles against enemy ships from hundreds of miles away, limiting the effectiveness of anti-aircraft weapons against the ground based aircraft themselves. Moreover, even a few days warning can allow U.S. commanders to marshal hundreds of aircraft at locations like Guam or Okinawa from bases anywhere in the world, while it could take considerably longer to get ships deployed to the scene from places like the Atlantic Coast or Middle East. Even so called, "surprise attacks" are rarely total surprises -- usually there is a long stream of bellicose rhetoric that precedes them.
Getting the aircraft in the air and launching the missiles from a little further way does mean a delay. Aircraft would still be reinforcements to surface ships in a truly surprise attack, operating perhaps half an hour to two hours from the time they are ordered to mobilize, but since very few ships travel at even 40 miles an hour, and it is hard to mobilize a huge flotilla of invading ships without satellites noticing it, the downsides of potential delay aren't necessarily as dramatic as they seem, and launching from a hundred or two miles further away costs only seconds of response times as the missiles themselves travel so fast.
A surprise attack on the airbase poses problems similar to a surprise attack on a defense fleet, of course, but invading a distant military base in a foreign country definitely makes the prospectis of an invasion higher risk since it expands to conflict to new and powerful opponents, like Japan.