Skip to content

Commit 4de6d43

Browse files
committed
fix: relative path building
1 parent 0331ef9 commit 4de6d43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nuxt/src/module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export default defineNuxtModule<ModuleOptions>({
8282
// Add type references for useRuntimeConfig in root files for nuxt v4
8383
// Should be relative to `root/.nuxt`
8484
const relativePath = path.relative(nuxt.options.buildDir, clientConfigFile);
85-
options.tsConfig.include.push(`../${relativePath}`);
85+
options.tsConfig.include.push(relativePath);
8686
});
8787
}
8888

0 commit comments

Comments
 (0)