Skip to content

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