Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Relay 13 (Rust compiler) Support #72

Open
ro-savage opened this issue Jan 12, 2022 · 3 comments
Open

Relay 13 (Rust compiler) Support #72

ro-savage opened this issue Jan 12, 2022 · 3 comments

Comments

@ro-savage
Copy link

We tried to update to relay 13 with it's new compiler, however it appears that relay-compiler-webpack-plugin doesn't yet support Relay 13.

13:05:54 webpack.1 | > webpack-dev-server
13:05:54 webpack.1 | > ./bin/webpack-dev-server
13:05:54 webpack.1 |
13:05:56 webpack.1 | node:internal/modules/cjs/loader:936
13:05:56 webpack.1 |   throw err;
13:05:56 webpack.1 |   ^
13:05:56 webpack.1 |
13:05:56 webpack.1 | Error: Cannot find module 'relay-compiler/lib/language/javascript/RelayLanguagePluginJavaScript'
13:05:56 webpack.1 | Require stack:
13:05:56 webpack.1 | - /Users/rowan/www/runn/runn/node_modules/relay-compiler-webpack-plugin/dist/index.js

Is the plan for this plugin to support the new rust compiler in relay 13?

@danielholmes
Copy link
Collaborator

Hi @ro-savage . For my part, I don't use relay any more and won't have the time or motivation to do the change. I can merge a PR enabling support for it if someone opens one though.

@ro-savage
Copy link
Author

ro-savage commented Jan 14, 2022

@danielholmes - thanks for the quick response. Totally understandable and thanks for the awesome work putting this together in the first place.

Our team is trying to get Relay 13 working with webpack now - including trying a fork of this plugin.

If we end up going with a forked version, we'll submit a PR back to this repo.

Update: We just ended up with our own watcher script outside of webpack rather than fork this.

@alexey-koran
Copy link

Hi guys. https://www.npmjs.com/package/@ch1ffa/relay-compiler-webpack-plugin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants