We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0b778d commit 0331ef9Copy full SHA for 0331ef9
packages/nuxt/src/module.ts
@@ -81,7 +81,8 @@ export default defineNuxtModule<ModuleOptions>({
81
82
// Add type references for useRuntimeConfig in root files for nuxt v4
83
// Should be relative to `root/.nuxt`
84
- options.tsConfig.include.push('../sentry.client.config.ts');
+ const relativePath = path.relative(nuxt.options.buildDir, clientConfigFile);
85
+ options.tsConfig.include.push(`../${relativePath}`);
86
});
87
}
88
0 commit comments