Mirror: Modular GraphQL.js import paths without the hassle.
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update README

+6 -1
+6 -1
README.md
··· 1 1 # babel-plugin-modular-graphql 2 2 3 3 A small transform plugin to cherry-pick GraphQL modules so you don’t have to. 4 - Basicaly [babel-plugin-lodash](https://github.com/lodash/babel-plugin-lodash) for [graphql](https://github.com/graphql/graphql-js). 4 + Basically [babel-plugin-lodash](https://github.com/lodash/babel-plugin-lodash) for [graphql](https://github.com/graphql/graphql-js). 5 5 6 6 ## Getting Started 7 7 ··· 27 27 import { parse } from "graphql/language/parser"; 28 28 import { Kind } from "graphql/language/kinds"; 29 29 ``` 30 + 31 + ## Limitations 32 + 33 + - The plugin currently does not support `require()` 34 + - The plugin automatically generates an import-map that drills down into `graphql`'s files. This may break if files at a depth of 1–2 change their names.