This was exactly the same mindset for Python2 to Python3. Honestly, it's a lot less painful if people just adopt the new standard, rather than continuing to borrow against the technical debt of staying on a platform that has officially been identified discussed as a potential target for deprecation (maybe).
Edit: clarified it is not official. The core Node team has not made an official statement as of this date.
Good call, it isn't official. Discussion can be found here. It's a hot topic, and there's a lot of mentions of libraries or frameworks ditching support for CJS, but Node.js has been neutral on the topic so far.
13
u/matthewsilas Feb 01 '22
Any app built before esm can’t justify the expense to refactor to esm.