chalk/strip-ansi



The issue has been closed
Add notes about non-esm version in readme #42
peey posted onGitHub
ESM breaks some build configurations, e.g. I was getting the following with a ts-node based configuration all of the sudden (and it doesn't even point to strip-ansi
, it points to my own typescript files! only difference being if I'm importing strip-ansi or not)
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts"
Consequently, I've had to revert to 3.0.0
for the meanwhile.
I'd request that a note mentioning the latest non-ESM version should be present in the documentation so that we can still work with the library until build systems are upgraded to acommodate ESM.