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
To tree shake Sentry debug code in Next.js projects, you can use webpack's [DefinePlugin](https://webpack.js.org/plugins/define-plugin/) in your Next.js configuration.
81
81
@@ -114,10 +114,13 @@ The following example shows how to create and bind a `Client` which enables tree
114
114
```javascript {filename:main.js}
115
115
import {
116
116
BrowserClient,
117
+
Breadcrumbs,
118
+
Dedupe,
117
119
defaultStackParser,
118
-
makeFetchTransport,
119
-
Integrations,
120
120
getCurrentHub,
121
+
GlobalHandlers,
122
+
makeFetchTransport,
123
+
LinkedErrors,
121
124
} from"@sentry/browser";
122
125
123
126
constclient=newBrowserClient({
@@ -129,10 +132,10 @@ const client = new BrowserClient({
0 commit comments