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.
69
69
@@ -101,10 +101,13 @@ The following example shows how to create and bind a `Client` which enables tree
101
101
```javascript {filename:main.js}
102
102
import {
103
103
BrowserClient,
104
+
Breadcrumbs,
105
+
Dedupe,
104
106
defaultStackParser,
105
-
makeFetchTransport,
106
-
Integrations,
107
107
getCurrentHub,
108
+
GlobalHandlers,
109
+
makeFetchTransport,
110
+
LinkedErrors,
108
111
} from"@sentry/browser";
109
112
110
113
constclient=newBrowserClient({
@@ -116,10 +119,10 @@ const client = new BrowserClient({
0 commit comments