From b773059898f544b5d5500ee9eb8b1e543b92a1be Mon Sep 17 00:00:00 2001 From: Ivan Goncharov Date: Mon, 30 May 2022 00:49:56 +0300 Subject: [PATCH] Drop polyfills from examples and README --- README.md | 1 - example/index.html | 4 ---- src/middleware/render-voyager-page.ts | 1 - 3 files changed, 6 deletions(-) diff --git a/README.md b/README.md index 993f45e7..ff1035b8 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,6 @@ And then use it: import * as React from 'react'; import * as ReactDOM from 'react-dom'; import { Voyager } from 'graphql-voyager'; -import fetch from 'isomorphic-fetch'; function introspectionProvider(query) { return fetch(window.location.origin + '/graphql', { diff --git a/example/index.html b/example/index.html index b401586c..d19bcb07 100644 --- a/example/index.html +++ b/example/index.html @@ -14,14 +14,10 @@ - - diff --git a/src/middleware/render-voyager-page.ts b/src/middleware/render-voyager-page.ts index 3ca5dd3b..728730b8 100644 --- a/src/middleware/render-voyager-page.ts +++ b/src/middleware/render-voyager-page.ts @@ -31,7 +31,6 @@ export default function renderVoyagerPage(options: MiddlewareOptions) { -