I really enjoy the Node ESM implementation and the CJS interop. The ecosystem migration is probably going to be brutal but overall worth it. I hope bundlers are quick to adopt some actual "standardized" semantics. https://nodejs.org/api/esm.html
-
-
Interesting. Do you traverse the whole fs on startup to create that in memory representation?
-
Yeah. That way resolution is synchronous so it's super fast. It's a requirement to support "haste" which is the name for a Facebook module system where all files can be referenced by their basename.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 