diff --git a/README.md b/README.md index 4e406004..2d1979cf 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ query MyQuery { If you have configured [the webpack graphql-tag/loader](#webpack-loading-and-preprocessing), you can import modules containing graphQL queries. The imported value will be the pre-built AST. -```graphql +```js import MyQuery from 'query.graphql' ```