From 10435932b248c46093922d226ad862d8a9e41b98 Mon Sep 17 00:00:00 2001 From: vikasrohit Date: Wed, 23 Mar 2016 22:17:13 +0530 Subject: [PATCH] AS#102481437698830, Travis build to push bundle to S3/CDN -- Excluded ReactDOM and moment from build --- navbar.webpack.config.coffee | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/navbar.webpack.config.coffee b/navbar.webpack.config.coffee index c25b18c90..3ee091fda 100644 --- a/navbar.webpack.config.coffee +++ b/navbar.webpack.config.coffee @@ -20,6 +20,9 @@ config.output.libraryTarget = 'var' config.plugins.push new ExtractTextPlugin '[name].css' # React would be provided externally by the application using the components -config.externals = {"react" : "React"} +config.externals = + "react" : "React" + "react-dom" : "ReactDOM" + "moment" : "moment" module.exports = config