Skip to content

Commit 8dec231

Browse files
committed
readme example does not need babel
1 parent 58cad27 commit 8dec231

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ Given a GraphQL schema defined in SDL, this function will output a schema script
99
`node generate-sql.js`
1010
```
1111
// generate-sql.js
12-
import gql from 'graphql-tag'
13-
import {
12+
const gql = require('graphql-tag')
13+
const {
1414
makeSqlSchema,
1515
getSchemaDirectives
16-
} from 'graphql-to-sql'
16+
} = require('graphql-to-sql')
1717
1818
const typeDefs = gql`
1919
directive @sql (

0 commit comments

Comments
 (0)