Taiwan has a quantitative advantage in logistics. They know they don't have to defeat China just defeat the invasion. All they have to do to defeat the invasion is slow down or diminish the flow of supplies to the invading force. They don't have to prevent them entirely from reaching the invasion force. The invasion forces actions will be determined by the level of supplies they have. Offensive actions require more armaments then defensive actions.
Besides if China continues on its course of capitalism it will soon be partners with Taiwan. They will not so much defeat Taiwan as join with Taiwan.
Now this is a civilized way in order to resolve matters .