File tree 1 file changed +13
-4
lines changed 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -3,10 +3,19 @@ import * as Sentry from '@sentry/browser'
3
3
4
4
export default function ( ctx , inject ) {
5
5
const opts = Object . assign ( { } , < %= serialize ( options . config ) % > , {
6
- integrations : ( integrations ) => {
7
- integrations . push ( new Sentry . Integrations . Vue ( { Vue } ) )
8
- return integrations
9
- }
6
+ // Use default browser integrations
7
+ defaultIntegrations : false ,
8
+ integrations : [
9
+ new Sentry . Integrations . Dedupe ,
10
+ new Sentry . Integrations . InboundFilters ,
11
+ new Sentry . Integrations . FunctionToString ,
12
+ new Sentry . Integrations . TryCatch ,
13
+ new Sentry . Integrations . Breadcrumbs ,
14
+ new Sentry . Integrations . GlobalHandlers ,
15
+ new Sentry . Integrations . LinkedErrors ,
16
+ new Sentry . Integrations . UserAgent ,
17
+ new Sentry . Integrations . Vue ( { Vue } )
18
+ ]
10
19
} )
11
20
Sentry . init ( opts )
12
21
You can’t perform that action at this time.
0 commit comments