commit fc3fbd15ccb8411d4a71c80fb3b36f9056178f5b
parent 80210873071bcf218063ad0a60e1767592797ea5
Author: Konstantin Tarkus <hello@tarkus.me>
Date: Mon, 9 Jun 2014 14:36:08 +0400
Merge branch 'master' of https://github.com/kriasoft/React-Seed
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/config/webpack.config.js b/config/webpack.config.js
@@ -22,6 +22,7 @@ module.exports = function (isDebug) {
},
plugins: isDebug ? [] : [
+ new webpack.DefinePlugin({'process.env.NODE_ENV': '"production"'})
new webpack.optimize.DedupePlugin(),
new webpack.optimize.UglifyJsPlugin(),
new webpack.optimize.OccurenceOrderPlugin(),
@@ -61,4 +62,4 @@ module.exports = function (isDebug) {
]
}
};
-};
-\ No newline at end of file
+};