Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make react and react dom peer(+dev) deps #1391

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dweste01
Copy link

Fixes #1298

Changes proposed in this pull request:

  • Make react and react-dom peer dependencies (+ dev dependencies) instead of regular dependencies

@dweste01
Copy link
Author

Not sure why I'm getting size limit warning on the Netlify build (assuming that warning is treated like an error), but locally it builds to a much smaller bundle:

Compiled successfully.
File sizes after gzip:
  662.44 KB  build/static/js/index.js
  652.1 KB   build/static/js/middleware.js
  390 B      build/static/css/middleware.css
  386 B      build/static/css/index.css

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

react-redux and redux should be peer dependencies
1 participant