jorgebucaran/colorette

Default exports break down in converted CJS version

kibertoad opened this issue · 4 comments

See pinojs/pino-pretty#237

process["default"].env is definitely incorrect. Looks like we should avoid using default imports here.

@jorgebucaran Wonder if we could be running CI on built CJS version somehow.

Duplicate of #73

Should be possible, let me check the docs.

@kibertoad Sorry, looking into your comment again, I'm not sure exactly what you mean. The CI runs the tests. We could look into adding a special test just for the CJS version, though. That what you were thinking?