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
+6-6
Original file line number
Diff line number
Diff line change
@@ -103,16 +103,16 @@ export type SentryNuxtModuleOptions = {
103
103
debug?: boolean;
104
104
105
105
/**
106
-
* Enabling basic server tracing can be used for environments where modifying the node option `--import` is not possible.
107
-
* However, enabling this option only supports limited tracing instrumentation. Only http traces will be collected (but no database-specific traces etc.).
106
+
* If this option is `false`, the Sentry SDK won't wrap the server entry file with `import()`. Not wrapping the
107
+
* server entry file will disable Sentry on the server-side. When you set this option to `true`, make sure
108
+
* to add the sentry server config with the node `--import` CLI flag to enable Sentry on the server-side.
108
109
*
109
-
* If this option is `true`, the Sentry SDK will import the Sentry server config at the top of the server entry file to load the SDK on the server.
110
-
*
111
-
* **DO NOT** enable this option if you've already added the node option `--import` in your node start script. This would initialize Sentry twice on the server-side and leads to unexpected issues.
110
+
* **DO NOT** add the node CLI flag `--import` in your node start script, when `disableDynamicImportWrapping` is set to `false`.
111
+
* This would initialize Sentry twice on the server-side and this leads to unexpected issues.
112
112
*
113
113
* @default false
114
114
*/
115
-
experimental_basicServerTracing?: boolean;
115
+
disableDynamicImportWrapping?: boolean;
116
116
117
117
/**
118
118
* 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.
0 commit comments