The Vatican was hesitant and ineffectual, like many others, but had clearly condemned basic Nazi notions before the war began
MIT BRENNENDER SORGE
... Whoever exalts race, or the people, or the State, or a particular form of State, or the depositories of power, or any other fundamental value of the human community - however necessary and honorable be their function in worldly things - whoever raises these notions above their standard value and divinizes them to an idolatrous level, distorts and perverts an order of the world planned and created by God; he is far from the true faith in God and from the concept of life which that faith upholds ...
... Thousands of voices ring into your ears a Gospel which has not been revealed by the Father of Heaven. Thousands of pens are wielded in the service of a Christianity, which is not of Christ ...
Given at the Vatican on Passion Sunday, March 14, 1937 ...
The Nazis certainly recognized this as a rebuke
Mit brennender Sorge
... Hitler was infuriated. Twelve printing presses were seized, and hundreds of people sent either to prison or the concentration camps. Goebbels noted heightened verbal attacks on the clergy from Hitler in his diary and wrote that Hitler had approved the start of trumped up "immorality trials" against clergy and anti-Church propaganda campaign. Goebbels' orchestrated attack included a staged "morality trial" of 37 Franciscans. On the "Church Question", wrote Goebbels, "after the war it has to be generally solved... There is, namely, an insoluble opposition between the Christian and a heroic-German world view" ...