No question. The same has also been said if China decides it's ready to defy us and invade Taiwan. The obvious thing to do would be to nuke our carrier groups first, and maybe it's a question what our response would be if they also have the ICBMs that clinton sold them targeted on Los Angeles and other cities on the west coast, or possibly the whole of ConUS.
Couldn't they just nuke the sea lanes heading into Taiwan, and dare us to sail through nuclear contamination that would kill our sailers? That way they wouldn't provoke a response from us, but we couldn't respond.