Skip to content

Commit ada1d13

Browse files
adamsofferRandy1Burrell
authored andcommitted
Fix production build (#265)
* Fix production build 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). * Downgrade babel-preset-react-app to 3.1.0
1 parent 4fcb29a commit ada1d13

File tree

2 files changed

+512
-88
lines changed

2 files changed

+512
-88
lines changed

Diff for: README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The quickest way to run a Graph Node locally is to use the
2424
This will automatically provision a server with rust, postgres, and ipfs, and
2525
spin up a graph node with a GraphiQL interface at `http://127.0.0.1:8000/`.
2626
Congrats, you're now ready to build and deploy the Livepeer subgraph. You may
27-
skip ahead to [Building & deploying the Subgraph](#building-&-deploying-the-livepeer-subgraph)
27+
skip ahead to [Building & deploying the Subgraph](#building-and-deploying-the-livepeer-subgraph)
2828

2929
### Running a local Graph Node _without_ Docker
3030

@@ -64,7 +64,7 @@ optional, it depends on your setup.
6464

6565
This will also spin up a GraphiQL interface at `http://127.0.0.1:8000/`.
6666

67-
### Building & deploying the Livepeer Subgraph
67+
### Building and Deploying the Livepeer Subgraph
6868

6969
Back in our subgraph directory, run
7070

0 commit comments

Comments
 (0)