Wars between great powers are won and lost on manufacturing base. The classic book on this topic is https://en.wikipedia.org/wiki/The_Rise_and_Fall_of_the_Great...
Same goes for logistics, which is an extension to your point:
https://walton.uark.edu/clc/posts/when-supply-chain-is-the-b...
yep... other factors do matter in determining the length of the war, whether the manufacturing base can be defended / get the raw materials it needs, etc. The enigma machine is estimated to have reduced WWII by a few years.
but there's really no winning when the enemy can put more planes, tanks, guns, boats and troops than you by a large factor, if they are even somewhat competent at using them.