You'll fight with what you have on hand. The war will be over before anyone builds any new ships, IMO.
Not how WWII played out. If things go nuclear then you are right but a long drawn out conventional war there will be massive ship building going on.