sindresorhus/conf

Support for ESM

pepicrft opened this issue · 3 comments

Hi, are there plans to support ESM?
We are using conf from an ESM-based CLI and because Conf is CJS the loading of the various modules that are part of this package can't be loaded concurrently with the rest of the modules of the CLI.

I'd be happy to go ahead with the implementation but I'd need some input on what the suggested tooling is for generating CJS and ESM modules. Thanks in advance.

You are amazing ❤️! Thanks a lot Sindre

I noticed an issue in the package.json. I'd appreciate a review on it.