"Star wars" is feasible with reusable launch to orbit vehicles.
Taiwan does have fairly good stocks of weapons and ammo. It's also great terrain for fighting a defensive guerilla war. It'd be China's roleplay of "Russia in Afghanistan".
Practically, PRC can simply mine TW ports, crater run ways, via glide mines and MLRS all within PRC borders (that can hit anywhere in TW + adjacent). US + co doesn't remotely have the demining, sealift or airlift capacity to logistically support TW off PRC waters. Nor will they convince any commercial fleet/insurers to go on suicide mission of... invading One China territory. It's like how Operation Starvation crippled JP during WW2. Except TW is much smaller than JP and PRC is a much larger industrial power than US during wartime. PRC can unilaterally and trivially render TW inaccessible - it can blockade TW with basically zero sustained naval or air effort.
And really if US/JP try to run the blockade they're legally invading Chinese sovereign territory and it's WW3 anyway. TW may have chance to survive a PLA invasion, but IMO no chance of breaking a PRC blockade. Folks are grossly underestimating the proponderous of advantages PRC has near her coast.
Observe that "the world" will not be helping Taiwan. India won't. Russia won't. Brazil won't. Nigeria won't. Pakistan won't. Bangladesh won't. Nigeria won't. You get the drill. US will, and probably Europe too, but why assume that these will 1) be able to defeat China in a conventional war in its own back yard, and 2) will even try to do so?
Taiwan between missiles and air force elements would be uninvadable. The only way to control Taiwan is to land a quarter million soldiers or more.