graphql-playground icon indicating copy to clipboard operation
graphql-playground copied to clipboard

make react and react dom peer(+dev) deps

Open dweste01 opened this issue 3 years ago • 1 comments

Fixes #1298

Changes proposed in this pull request:

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

dweste01 avatar May 23 '22 21:05 dweste01

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

dweste01 avatar May 23 '22 22:05 dweste01