Skip to content

Commit

Permalink
fix: disable tsconfig resolution on config loading, close #52
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Aug 7, 2024
1 parent b4528c3 commit 27c2372
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/configs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ export async function readConfig(
const { mod, dependencies } = await bundleRequire({
filepath: configPath,
cwd: basePath,
tsconfig: false,
})

let rawConfigs = await (mod.default ?? mod) as FlatConfigItem[]
Expand Down

0 comments on commit 27c2372

Please sign in to comment.