Models of pairwise interactions have informed our understanding of when ecological communities will have stable equilibria. However, these models do not explicitly include the effect of the resource environment, which has the potential to refine or modify our understanding of when a group of interacting species will coexist. Recent consumer-resource models incorporating the exchange of resources alongside competition exemplify this: such models can lead to either stable or unstable equilibria, depending on the resource supply. On the other hand, these recent models focus on a simplified version of microbial metabolism where the depletion of resources always leads to consumer growth. Here, we model an arbitrarily large system of consumers governed by Liebig's law, where species require and deplete multiple resources, but each consumer's growth rate is only limited by a single one of these multiple resources. Consumed resources that do not lead to growth are leaked back into the environment, thereby tying the mismatch between depletion and growth to cross-feeding. For this set of dynamics, we show that feasible equilibria can be either stable or unstable, once again depending on the resource environment. We identify special consumption and production networks which protect the community from instability when resources are scarce. Using simulations, we demonstrate that the qualitative stability patterns we derive analytically apply to a broader class of network structures and resource inflow profiles, including cases in which species coexist on only one externally supplied resource. Our stability criteria bear some resemblance to classic stability results for pairwise interactions, but also demonstrate how environmental context can shape coexistence patterns when ecological mechanism is modeled directly.