Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Resolve config modules with ESM createRequire()
ES modules do not have require() available, we must construct it first. This fixes the CLI when passing `--config my-config-package`, broken in v12.0.0. The tests didn't catch this because Jest still doesn't support mocking ESM, and there's really no way to write a test for this right now.
- Loading branch information