Fix error
This commit is contained in:
parent
02faa1529e
commit
4f9f603e12
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue