9 ms·
It is a shame, but I just don't know how node would migrate to ES6 modules. I'm sure someone smarter than me could think up of a plan, but it seems like a huge
by jlongster 13y ago
It is a shame, but I just don't know how node would migrate to ES6 modules. I'm sure someone smarter than me could think up of a plan, but it seems like a huge amount of work. One of the strongest points about node is the amount of small reusable libraries available. They aren't about to ditch that.
- avolcano 13y agoSome thought has definitely been put into this problem: https://gist.github.com/domenic/4748675 https://gist.github.com/domenic/4748675 https://gist.github.com/wycats/51c96e3adcdb3a68cbc3#importing-a-node-module-by-processing-requires https://gist.github.com/wycats/51c96e3adcdb3a68cbc3#importin... (both of those are slightly out of date, syntax-wise, but are still conceptually current, IIRC)
- arxpoetica 13y agoGlad to hear it.