From 8dec231d600fc28127971a7f08484ebe89da4e9f Mon Sep 17 00:00:00 2001 From: Taylor Goolsby Date: Mon, 30 Dec 2019 16:23:15 -0800 Subject: [PATCH] readme example does not need babel --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 3dffed7..5f50261 100644 --- a/README.md +++ b/README.md @@ -9,11 +9,11 @@ Given a GraphQL schema defined in SDL, this function will output a schema script `node generate-sql.js` ``` // generate-sql.js -import gql from 'graphql-tag' -import { +const gql = require('graphql-tag') +const { makeSqlSchema, getSchemaDirectives -} from 'graphql-to-sql' +} = require('graphql-to-sql') const typeDefs = gql` directive @sql (