diff --git a/lib/templates/sentry-client.js b/lib/templates/sentry-client.js index 1d860ce6..c4ce15d3 100644 --- a/lib/templates/sentry-client.js +++ b/lib/templates/sentry-client.js @@ -3,10 +3,19 @@ import * as Sentry from '@sentry/browser' export default function (ctx, inject) { const opts = Object.assign({}, <%= serialize(options.config) %>, { - integrations: (integrations) => { - integrations.push(new Sentry.Integrations.Vue({ Vue })) - return integrations - } + // Use default browser integrations + defaultIntegrations: false, + integrations: [ + new Sentry.Integrations.Dedupe, + new Sentry.Integrations.InboundFilters, + new Sentry.Integrations.FunctionToString, + new Sentry.Integrations.TryCatch, + new Sentry.Integrations.Breadcrumbs, + new Sentry.Integrations.GlobalHandlers, + new Sentry.Integrations.LinkedErrors, + new Sentry.Integrations.UserAgent, + new Sentry.Integrations.Vue({ Vue }) + ] }) Sentry.init(opts)