Skip to content

Commit

Permalink
fix: use relative paths in nitro-config.d.ts (#2471)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed May 27, 2024
1 parent 61f2079 commit 4d70b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ import type { Defu } from 'defu'
${nitro.options.appConfigFiles
.map((file, index) =>
genTypeImport(file.replace(/\.\w+$/, ""), [
genTypeImport(relative(typesDir, file).replace(/\.\w+$/, ""), [
{ name: "default", as: `appConfig${index}` },
])
)
Expand Down

0 comments on commit 4d70b75

Please sign in to comment.