Complex sentence: During World War II the facility was primarily tasked for production of the Liberty ships, but wartime losses caused a shift to repair of tanker vessels.
Split into simpler sentences: During World War II the facility was primarily tasked for production of the Liberty ships. But wartime losses caused a shift to repair of tanker vessels.