···11+MIT License
22+33+Copyright (c) 2018 Phil Plückthun
44+55+Permission is hereby granted, free of charge, to any person obtaining a copy
66+of this software and associated documentation files (the "Software"), to deal
77+in the Software without restriction, including without limitation the rights
88+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
99+copies of the Software, and to permit persons to whom the Software is
1010+furnished to do so, subject to the following conditions:
1111+1212+The above copyright notice and this permission notice shall be included in all
1313+copies or substantial portions of the Software.
1414+1515+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1616+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1717+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
2121+SOFTWARE.
+29
README.md
···11+# babel-plugin-modular-graphql
22+33+A small transform plugin to cherry-pick GraphQL modules so you don’t have to.
44+Basicaly [babel-plugin-lodash](https://github.com/lodash/babel-plugin-lodash) for [graphql](https://github.com/graphql/graphql-js).
55+66+## Getting Started
77+88+```sh
99+npm install --save-dev babel-plugin-modular-graphql
1010+# or
1111+yarn add --dev babel-plugin-modular-graphql
1212+```
1313+1414+And add the plugin to your Babel config; it doesn't take any options.
1515+1616+## Example
1717+1818+Imports like these:
1919+2020+```js
2121+import { parse, Kind } from 'graphql';
2222+```
2323+2424+Become:
2525+2626+```js
2727+import { parse } from "graphql/language/parser";
2828+import { Kind } from "graphql/language/kinds";
2929+```