Application Environment Configuration with webpack

Matt McLaughlin
Matt McLaugh

--

Out of the box, webpack doesn’t come with a clear path to environment configuration (please correct me if I’m wrong) If you want to use a different set of configuration variables for your dev and prod environments in a React app you’re pretty much on your own. Thankfully, webpack is very robust, and we can achieve environment configuration with no extra plugins.

--

--

@mattmclaugh Professional problem solver and unceasing builder. A bicycle powered full stack developer focused on teams, architecture, and customer experience.