Skip to content

Commit

Permalink
Fixes externals for UMD build.
Browse files Browse the repository at this point in the history
  • Loading branch information
ctrlplusb committed Jun 19, 2017
1 parent f79d944 commit 042397c
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 262 deletions.
6 changes: 6 additions & 0 deletions tools/webpack/configFactory.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,12 @@ function webpackConfigFactory({ target }) {
commonjs: 'react-dom',
commonjs2: 'react-dom',
},
'prop-types': {
root: 'PropTypes',
amd: 'prop-types',
commonjs: 'prop-types',
commonjs2: 'prop-types',
},
},
plugins: removeEmpty([
new webpack.DefinePlugin({
Expand Down
Loading

0 comments on commit 042397c

Please sign in to comment.