Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Fix production build #265

Merged
merged 2 commits into from
Dec 7, 2018
Merged

Fix production build #265

merged 2 commits into from
Dec 7, 2018

Conversation

adamsoffer
Copy link
Collaborator

What does this pull request do? Explain your changes. (required)
This PR addresses the failing production build caused by an older version react-scripts not playing nice with the latest version of graphql

Updating to the latest version of react-scripts (v2.1.1) fixes the issue. It also happens to reduce the production build considerably (from over 1mb down to 48kb).

Specific updates (required)

Checklist:

  • I have read the CONTRIBUTING document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

Adam Soffer added 2 commits December 2, 2018 12:12
The production build failing was the result of a bug related to an older version react-scripts not playing nice with the latest version of graphql (graphql/graphql-js#1248).

Updating to the latest version of react-scripts (v2.1.1) fixed the bug. It also reduces the production build *considerably* (from over 1mb down to 48kb).
Copy link
Contributor

@Randy1Burrell Randy1Burrell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Randy1Burrell Randy1Burrell merged commit 21650d9 into livepeer:master Dec 7, 2018
@adamsoffer
Copy link
Collaborator Author

🎉

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

Successfully merging this pull request may close these issues.

2 participants