Re:Node Modules at War: Why CommonJS and ES Modules Can’t Ge...
by lf-non on Thursday August 06, 2020 @06:15AM
(#24069621)
Not taking seamless CJS interop into account was IMHO the biggest failure of TC39 till date.
Given the widespread popularity of CJS they should have prioritized CJS backward compatibility over things like better support for circular dependencies and mutable exports. Many languages are doing quite fine without them.
Given the widespread popularity of CJS they should have prioritized CJS backward compatibility over things like better support for circular dependencies and mutable exports. Many languages are doing quite fine without them.