Why is that a problem? For some critical goods (Food, Medicines, Defense) it's a security risk to not have a supply. But for flip flops and umbrellas, no country is somehow better off by having thousands of factories, instead of doing what the US does: selling high value goods and services and importing the low value goods.
In fact, it's the opposite. Those industries are much more polluting per dollar GDP created, and that externality is something you are happy to not have on your own soil.
In fact, it's the opposite. Those industries are much more polluting per dollar GDP created, and that externality is something you are happy to not have on your own soil.