diff --git a/webpack.config.js b/webpack.config.js index 492871ff..4bab5d59 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -3,6 +3,11 @@ const webpack = 'webpack' const config = module.exports = { context: __dirname, + plugins: [ + new webpack.DefinePlugin({ + "process.env.NODE_ENV": `"${process.env.NODE_ENV || 'development'}"` + }) + ], module: { loaders: [ {