The Mongols had the production centers of everyone they conquered. Also this is pre industrial, producing explosives of the era didn't require heavy machinery it required knowledge and materials, and a bunch of nomadic horse archers are going to produce one hell of a supply line.
Think of the Mongols as vikings with horses instead of boats.