Here\'s my webpack.config.js
\"use strict\"; module.exports = { entry: [\'./main.js\'], output: { path: __dirname, filename: \'bund
You need to add a plugin to define your env (in webpack config):
plugins: [ new webpack.DefinePlugin({ 'process.env.NODE_ENV': JSON.stringify('development') }) ],