Skip to content

Commit

Permalink
Update deprecated package name (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
detrohutt authored and jnwng committed Jul 19, 2018
1 parent 1fd2c9d commit 1648b6d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Expand Up @@ -73,7 +73,7 @@ Try this custom transformer to pre-compile your GraphQL queries in TypeScript: [

#### React Native, Next.js

Additionally, in certain situations, preprocessing queries via the webpack loader is not possible. [babel-plugin-inline-import-graphql-ast](https://www.npmjs.com/package/babel-plugin-inline-import-graphql-ast) will allow one to import graphql files directly into your JavaScript by preprocessing GraphQL queries into ASTs at compile-time.
Additionally, in certain situations, preprocessing queries via the webpack loader is not possible. [babel-plugin-import-graphql](https://www.npmjs.com/package/babel-plugin-import-graphql) will allow one to import graphql files directly into your JavaScript by preprocessing GraphQL queries into ASTs at compile-time.

E.g.:
```javascript
Expand Down Expand Up @@ -162,5 +162,3 @@ fragment SomeFragment ($arg: String!) on SomeType {
someField
}
```


0 comments on commit 1648b6d

Please sign in to comment.