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 93293b3 commit c0b778dCopy full SHA for c0b778d
packages/nuxt/src/module.ts
@@ -73,13 +73,14 @@ export default defineNuxtModule<ModuleOptions>({
73
order: 1,
74
});
75
76
+ // Add the sentry config file to the include array
77
nuxt.hook('prepare:types', options => {
- // Add the sentry config file to the include array
78
if (!options.tsConfig.include) {
79
options.tsConfig.include = [];
80
}
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');
85
86
0 commit comments