chalk/strip-ansi

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.


posted by sindresorhus over 3 years ago

It's clear that the package is ESM. The request was for the latest non-ESM version to be documented.

posted by peey over 3 years ago

Comments are getting rude and insulting, going to lock this. There's nothing further actionable here.

posted by Qix- over 3 years ago

Fund this Issue

$0.00
Funded

Pull requests