diff --git a/src/lib/load-config.ts b/src/lib/load-config.ts index eaff8e95b410..7eab412ca09a 100644 --- a/src/lib/load-config.ts +++ b/src/lib/load-config.ts @@ -33,6 +33,10 @@ function lazyJiti() { export function loadConfig(path: string): Config { let config = (function () { + // Always use jiti for now. There is a a bug that occurs in Node v22.12+ + // where imported files return invalid results + return lazyJiti()(path) + // Always use jiti for ESM or TS files if ( path &&