Application Environment Configuration with webpack
Published in
2 min readJun 28, 2016
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.