Skip to content

Commit

Permalink
Add exports field to react-refresh's package.json (facebook#23087)
Browse files Browse the repository at this point in the history
* Add exports field to react-refresh's package.json

* Update package.json

* Add runtime to exports
  • Loading branch information
otakustay authored and nevilm-lt committed Apr 22, 2022
1 parent 9a08da6 commit 5a522d0
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion packages/react-refresh/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@
"umd/"
],
"main": "runtime.js",
"exports": {
".": "./runtime.js",
"./runtime": "./runtime.js",
"./babel": "./babel.js",
"./package.json": "./package.json"
},
"repository": {
"type": "git",
"url": "https://github.com/facebook/react.git",
Expand All @@ -31,4 +37,4 @@
"react-dom-16-8": "npm:react-dom@16.8.0",
"scheduler-0-13": "npm:scheduler@0.13.0"
}
}
}

0 comments on commit 5a522d0

Please sign in to comment.