Skip to content

Commit

Permalink
updated package.json and webpack main entry point.
Browse files Browse the repository at this point in the history
  • Loading branch information
diasbruno committed Mar 5, 2017
1 parent c9c39e2 commit 032869d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ karma.conf.js
script
specs
.idea/
src
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "react-modal",
"version": "1.6.5",
"description": "Accessible modal dialog component for React.JS",
"main": "./lib/index.js",
"main": "./src/index.js",
"repository": {
"type": "git",
"url": "https://github.com/reactjs/react-modal.git"
Expand Down
4 changes: 2 additions & 2 deletions webpack.dist.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ var reactDOMExternal = {
module.exports = {

entry: {
'react-modal': './lib/index.js',
'react-modal.min': './lib/index.js'
'react-modal': './src/index.js',
'react-modal.min': './src/index.js'
},

externals: {
Expand Down

0 comments on commit 032869d

Please sign in to comment.