BerndWessels / babel-relay-plugin-loader

This is a workaround to be able to use the Babel Relay Plugin in .babelrc and using babel-node.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Should be able to specify options that will be sent to babel-relay-plugin

idris opened this issue · comments

babel-relay-plugin accepts additional options.

There should be a way to specify these options when using babel-relay-plugin-loader. One way is to add it to the metadata.graphql object in package.json. Only drawback is that would not work for the validator.validate option, which takes a function.