Skip to content

Commit

Permalink
Document Enzyme-specific Webpack configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
cjcenizal committed Mar 28, 2017
1 parent 8d4222a commit ad9616f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ui_framework/doc_site/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ module.exports = {
]
},

// These are necessasry for using Enzyme with Webpack (https://github.com/airbnb/enzyme/blob/master/docs/guides/webpack.md).
externals: {
'react/lib/ExecutionEnvironment': true,
'react/lib/ReactContext': true,
Expand Down

0 comments on commit ad9616f

Please sign in to comment.