diff --git a/src/lib/load-config.ts b/src/lib/load-config.ts index 7eab412ca09a..af518d9cc6b1 100644 --- a/src/lib/load-config.ts +++ b/src/lib/load-config.ts @@ -33,6 +33,8 @@ function lazyJiti() { export function loadConfig(path: string): Config { let config = (function () { + if (!path) return {} + // 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)