You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/nuxt/src/common/types.ts
+9
Original file line number
Diff line number
Diff line change
@@ -130,6 +130,15 @@ export type SentryNuxtModuleOptions = {
130
130
*/
131
131
entrypointWrappedFunctions?: string[];
132
132
133
+
/**
134
+
* By default—unless you configure `dynamicImportForServerEntry: false`—the SDK will try to wrap your Nitro server entrypoint
135
+
* with a dynamic `import()` to ensure all dependencies can be properly instrumented.
136
+
*
137
+
* The server entrypoint filename is automatically set by the Sentry SDK depending on the Nitro present.
138
+
* In case the server entrypoint has a different filename, you can overwrite it here.
139
+
*/
140
+
serverEntrypointFileName?: string;
141
+
133
142
/**
134
143
* Options to be passed directly to the Sentry Rollup Plugin (`@sentry/rollup-plugin`) and Sentry Vite Plugin (`@sentry/vite-plugin`) that ship with the Sentry Nuxt SDK.
135
144
* You can use this option to override any options the SDK passes to the Vite (for Nuxt) and Rollup (for Nitro) plugin.
0 commit comments