In your webpack.config.js it's better to also add the one liner here in the production section: new webpack.DefinePlugin({ 'process.env': { NODE_ENV: JSON.stringify('production') } }), Reasons are found here: https://facebook.github.io/react/docs/optimizing-performance.html#use-the-production-build Thanks for all your tutorials btw, I learned a lot !