There are such things as "industrial replicators". Apparently one is enough to supply industrial needs for a planet like Bajor, and four could help the Cardassians bounce back from the Klingon invasion.
I imagine those industrial replicators would fabricate large but simple pieces for subsequent assembly.
It was 2 for Bajor and 12 for "over a dozen worlds" in the Cardassian Empire, fwiw. I know because we just watched "For the Cause" last night.
To the OP: The economy of DS9 was established before the arrival of the Federation. I think Starfleet brought the replicators and the Replimat with them.