Skip to main content
The 2026 Annual Developer Survey is live— take the Survey today!

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

2
  • This helps to reduce the build size but does not resolve the problem. Commented Aug 28, 2022 at 18:31
  • 1
    @jordiburgos In my case without peerDependencies, my custom package would create it's own node_modules and inside it would have react package and this was causing confusion as there were two react packages in project, can you check this? this might help you to solve your issue. Commented Aug 29, 2022 at 12:33

lang-js