componentjs / component

frontend package manager and build tool for modular web applications
https://github.com/componentjs/guide
MIT License
4.55k stars 306 forks source link

rewrite to spawn through gnode #580

Open jonathanong opened 10 years ago

jonathanong commented 10 years ago

since component is written in generators, it needs generator support, which is done via regenerator. however, this is giant maintenance issue since it introduces a global which are not guaranteed to be compatible with different versions (which is why we're stuck at 0.4.6 or something).

we should rewrite the binaries to spawn through gnode or node --harmony-generators and not bother compiling before publishing: https://github.com/normalize/nlz/blob/master/bin/nlz#L79. this will make the executables much slower on node versions < 11, so we may want to wait until 0.12 is released to do this