babel-relay-plugin-master-do-not-use
v0.7.4
Published
Babel Relay Plugin for transpiling GraphQL queries for use with Relay.
Downloads
5
Readme
babel-relay-plugin
Installation
cd relay/scripts/babel-relay-plugin
npm install
Tests
npm test
Usage
var plugin = getBabelRelayPlugin(parsedSchemaJSON.data);
babel.transform(source, {
plugins: [plugin],
...
});
License
Relay is BSD licensed. We also provide an additional patent grant.