Honestly the biggest pain with modern JS is the CJS/ESM divide
Lots of legacy packages still using CJS and a fair amount of modern packages only use ESM so you're forced to always use some transformer... until you hit an edge case where one package is not getting transformed for some reason.
1 comment
[ 3.3 ms ] story [ 10.1 ms ] threadLots of legacy packages still using CJS and a fair amount of modern packages only use ESM so you're forced to always use some transformer... until you hit an edge case where one package is not getting transformed for some reason.