chalk/chalk

【suggestion】support commonjs version

Closed this issue · 1 comments

it seem that chalk does not support commonjs syntax,is there consider to implement it?
compile commonjs version and specific commonjs requier path use exports field in package.json,like
"exports": {
".": {
"require": "./commonjs-version-path/index.js",
"import": "./src/index.js"
},
}
If needed, I am willing to make a pr