babel-relay-plugin-0.9
v0.9.4
Published
Babel Relay Plugin for transpiling GraphQL queries for use with Relay.
Downloads
4
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.