Uncaught TypeError: o.Offline is not a constructor
at Module.cd49 (sentry.ts:17)
at s (bootstrap:84)
at Object.0 (app.be676346.js:1)
at s (bootstrap:84)
at n (bootstrap:45)
at bootstrap:221
at app.be676346.js:1
Describe your issue in detail, ideally, you have a reproducible demo that you can show.
import Vue from 'vue'
import * as Sentry from '@sentry/browser'
import { Vue as VueIntegration, Offline } from '@sentry/integrations'
Sentry.init({
release: 'release_v',
environment: 'release_env',
dsn: 'SENTRY_DSN',
enabled: true,
integrations: [
new VueIntegration({
Vue,
attachProps: true,
logErrors: true,
}),
new Offline(),
],
})
Package + Version
@sentry/browser@sentry/nodeVersion:
Description
Based on the new offline feature done in #2778 I tried to add the Sentry Offline integration to our project and got the following error
Describe your issue in detail, ideally, you have a reproducible demo that you can show.