SIGN IN SIGN UP

fix(load): resolve async config exports in CJS projects (#4659)

Config files that export a Promise or async/sync function are now
resolved before validation. This enables CJS projects to use patterns
like `module.exports = createPreset()` (returning a Promise) or
`module.exports = async () => config`.

Closes #4557
O
Omar Yusuf Abdi committed
fce263f544977958f476d6f4c8539e5fab996198
Parent: e9ef76c
Committed by GitHub <noreply@github.com> on 3/15/2026, 10:21:29 AM