Re:Node Modules at War: Why CommonJS and ES Modules Can’t Ge...
by desmap on Thursday August 06, 2020 @10:56AM
(#24071459)
Re your point OP also commented/quoted someone with “I don’t think designing a system with the blanket assumption that some feature just won’t get used is a viable path.”
[ Parent
| on HN ]
Re:Node Modules at War: Why CommonJS and ES Modules Can’t Ge...
by Macha on Thursday August 06, 2020 @12:25PM
(#24072482)
Yes, someone cannot design a system to handle arbitrary libraries with the assumption.
A library author can provide cjs bindings to their library for as long as cjs remains relevant with the assumption that they won't use top level await.