In some use cases, it can be beneficial to pass environment variables into your code. In my case, at build time I pass an environment variable to Webpack in the form of --env production and so forth. I wanted to get this in my code so I could load different configuration files depending on the […]

The post Passing Environment Variables Into Your Code With Webpack appeared first on I Like Kill Nerds.