You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently there is a fair bit of (wasted) output because we get a warning about exporting react and react-dom from roc-plugin-react.
Warning Dependencies
You have some dependencies in your package.json that also have been exported by extensions. This is probably a mistake.
Roc will prioritize the ones exported by the extensions.
You can override this by adding "#" to the start of the require/import in the code, see documentation for more info.
Dependencies that is both exported and in the projects package.json:
- react from roc-plugin-react with version IGNORE THE WARNING THAT YOU SEE
- react-dom from roc-plugin-react with version IGNORE THE WARNING THAT YOU SEE
Is there an easy way to get rid of this message; other than removing the actual export from the library (will require a pull request) - assuming that everyone knows this is a peer dependency and that we always will have this installed as per suggestion by the README?
The text was updated successfully, but these errors were encountered:
Currently there is a fair bit of (wasted) output because we get a warning about exporting
react
andreact-dom
fromroc-plugin-react
.Is there an easy way to get rid of this message; other than removing the actual export from the library (will require a pull request) - assuming that everyone knows this is a peer dependency and that we always will have this installed as per suggestion by the README?
The text was updated successfully, but these errors were encountered: