-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
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?
Metadata
Metadata
Assignees
Labels
No labels