Skip to content

Commit 43a90b6

Browse files
author
vikasrohit
committed
Merge pull request #44 from appirio-tech/feature/bundle-navbar-component
AS#102481437698830, Travis build to push bundle to S3/CDN
2 parents 1ce9ec2 + 1043593 commit 43a90b6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

navbar.webpack.config.coffee

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ config.output.libraryTarget = 'var'
2020
config.plugins.push new ExtractTextPlugin '[name].css'
2121

2222
# React would be provided externally by the application using the components
23-
config.externals = {"react" : "React"}
23+
config.externals =
24+
"react" : "React"
25+
"react-dom" : "ReactDOM"
26+
"moment" : "moment"
2427

2528
module.exports = config

0 commit comments

Comments
 (0)