From 60ebce52840c1324eadb20b63b4d4d41afe7a528 Mon Sep 17 00:00:00 2001 From: SleepWalker Date: Sun, 3 Jan 2016 00:14:55 +0200 Subject: [PATCH] =?UTF-8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=BF=D1=80=D0=BE=D0=B4=D0=B0=D0=BA=D1=88=D0=B5=D0=BD=20=D0=B4?= =?UTF-8?q?=D0=B5=D0=BF=D0=BB=D0=BE=D0=B9=20=D1=80=D0=B5=D0=B0=D0=BA=D1=82?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webpack.config.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webpack.config.js b/webpack.config.js index b9636d2..74f817e 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -62,6 +62,9 @@ var webpackConfig = { plugins: [ new webpack.DefinePlugin({ + 'process.env': { + NODE_ENV: JSON.stringify(isProduction ? 'production' : 'dev') + }, __DEV__: !isProduction, __TEST__: isTest, __PROD__: isProduction