babel-plugin-relay and relay-compiler are not compatible with ES6 modules
Open
wontfix
- Dominant language
- Rust
- Stars
- 19k
- Forks
- 1.9k
- PR merge metrics
- No merged PRs in 30d
Description
The output of using `babel-plugin-relay` uses `require`, and the output of `relay-compiler` uses `module.exports`.
I'd like to request that there be an option to use ES6 `import` statements instead of `require` and that `relay-compiler` output ES6 modules.
TIA.
Contributor guide
Assessment
This issue has not been assessed yet.