Skip to content

Commit c0b778d

Browse files
committed
style: comments
1 parent 93293b3 commit c0b778d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/nuxt/src/module.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,14 @@ export default defineNuxtModule<ModuleOptions>({
7373
order: 1,
7474
});
7575

76+
// Add the sentry config file to the include array
7677
nuxt.hook('prepare:types', options => {
77-
// Add the sentry config file to the include array
7878
if (!options.tsConfig.include) {
7979
options.tsConfig.include = [];
8080
}
8181

8282
// Add type references for useRuntimeConfig in root files for nuxt v4
83+
// Should be relative to `root/.nuxt`
8384
options.tsConfig.include.push('../sentry.client.config.ts');
8485
});
8586
}

0 commit comments

Comments
 (0)