Добавил продакшен деплой реакта

This commit is contained in:
SleepWalker 2016-01-03 00:14:55 +02:00
parent 1550293fc7
commit 60ebce5284

View File

@ -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