Hi,
it seems that webpack-dotenv-plugin does not work with webpack-dev-server. In my normal builds without webpack-dev-server I can see that the env variables are replaced as expected. But when I use webpack-dev-server all my env variables are undefined.
webpack: 3.5.5
webpack-dev-server: 2.7.1
webpack-dotenv-plugin: 2.0.2