Skip to content

Commit

Permalink
readme example does not need babel
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorgoolsby committed Dec 31, 2019
1 parent 58cad27 commit 8dec231
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 8dec231

Please sign in to comment.