Skip to content

v3.1.0 Support ESM config files (async api only)

Compare
Choose a tag to compare
@antonk52 antonk52 released this 14 Feb 21:44
· 26 commits to master since this release

Lilconfig now supports loading ESM configuration files.

ESM configs can be searched or loaded via async API only.

ESM syntax can be valid in either

  • .js and .mjs files in projects with "type": "module" in package.json
  • .mjs files in projects that use commonjs

Thanks for pushing this feature @marekdedic