Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add config support for babel-plugin-relay/macro (#2646)
Summary: Allows configuration options (e.g. `artifactDirectory`, `schema`) to be passed to usages of `babel-plugin-relay/macro` using experimental support in babel-macros. The options can be specified in any of the possible ways listed in the following URL: https://github.com/kentcdodds/babel-plugin-macros/blob/master/other/docs/author.md#config-experimental Notably allows more complex configurations in projects created with create-react-app. In my case, I'd like to use an un-ejected CRA project with [relay-compiler-language-typescript]( https://github.com/relay-tools/relay-compiler-language-typescript). Pull Request resolved: #2646 Differential Revision: D14311085 Pulled By: kassens fbshipit-source-id: 9097c15ff3bee11d909f4ad8010d6c442ad7c436
- Loading branch information