Skip to content

Commit

Permalink
add react-dom to peer-dependencies and remove it from bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
couds committed Sep 26, 2017
1 parent 5bfea69 commit 5b64725
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "react-bulma-components",
"version": "0.1.4",
"version": "0.1.5",
"description": "React components for Bulma framework",
"main": "dist",
"scripts": {
Expand Down Expand Up @@ -38,7 +38,8 @@
},
"peerDependencies": {
"prop-types": "^15.5.10",
"react": "^15.6.1"
"react": "^15.6.1",
"react-dom": "15.6.1"
},
"devDependencies": {
"@storybook/addon-actions": "3.2.10",
Expand Down
1 change: 1 addition & 0 deletions webpack.config.js
Expand Up @@ -126,6 +126,7 @@ module.exports = {
},
externals: {
react: 'commonjs react',
'react-dom': 'commonjs react-dom',
'prop-types': 'commonjs prop-types',
},
};

0 comments on commit 5b64725

Please sign in to comment.