We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02faa15 commit 4f9f603Copy full SHA for 4f9f603
src/lib/load-config.ts
@@ -33,6 +33,8 @@ function lazyJiti() {
33
34
export function loadConfig(path: string): Config {
35
let config = (function () {
36
+ if (!path) return {}
37
+
38
// Always use jiti for now. There is a a bug that occurs in Node v22.12+
39
// where imported files return invalid results
40
return lazyJiti()(path)
0 commit comments