What you said - that, before the civil war, the war with Mexico, and the whole westward expansion and the making of a continent wide nation, made what industrialization there was easier to expand, coast to coast, than was Europe able to do because of all the political divisions there, and the strong rivalries and disagreements among them. After that it was the war with Spain and the U.S. acquisition of a real colony, the Philippines, that made the U.S. a global power with global reach.
The Civil War was the first modern, industrialized war. Railroads, steamship ironclads, telegraphs, and mass manufacturing. Your premise was that World Wars 1 and 2 brought around American industrialization but that is false.