ch1ffa / relay-compiler-webpack-plugin Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Thanks for putting this together @ch1ffa - much appreciated.
Have you thought about taking over the version a relay-tools - so that everyone who was previously using the compiler can find it.
Or alternatively - since that version is abandoned, asking for a link in their readme to your version?
Hi, maybe this code requires some newer version of node or something (I'm still on Node 10), but I can't use this plugin when I used to be able to use the old plugin.
/code/node_modules/@ch1ffa/relay-compiler-webpack-plugin/dist/index.js:47
subprocess;
^
SyntaxError: Unexpected token ;
Does this require a newer version of Node or something? I've never seen that syntax.
Some warnings or other informative messages go to stderr. For example:
Debugger listening on ws://127.0.0.1:56587/f01b9c7c-094d-4757-a650-020f63e40d9c
For help, see: https://nodejs.org/en/docs/inspector
Debugger attached.
(node:54655) ExperimentalWarning: Custom ESM Loaders is an experimental feature. This feature could change at any time
(Use `node --trace-warnings ...` to show where the warning was created)
(node:54655) ExperimentalWarning: The Node.js specifier resolution flag is experimental. It could change or be removed at any time.
Waiting for the debugger to disconnect...
These are copied to errorMessages
in https://github.com/ch1ffa/relay-compiler-webpack-plugin/blob/main/src/compiler.ts#L38 and subsequently converted to compilationErrors
in https://github.com/ch1ffa/relay-compiler-webpack-plugin/blob/main/src/plugin.ts#L58.
I think the best thing to do is to check the exit code before determining whether the messages should be errors or not.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.