Skip to content

Commit

Permalink
Add exports field to react-refresh's package.json (#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 Jan 11, 2022
1 parent 8116347 commit 2f26eb8
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:[email protected]",
"scheduler-0-13": "npm:[email protected]"
}
}
}

0 comments on commit 2f26eb8

Please sign in to comment.