Package + Version
Version:
Description
When doing one of the following:
import * as Sentry from '@sentry/browser'
import { Vue as VueIntegration } from '@sentry/integrations'
import { Integrations } from '@sentry/tracing'
I will get the following error in the browser:
Uncaught ReferenceError: require is not defined
<anonymous> http://localhost:3000/@modules/@sentry/integrations.js:650
<anonymous> http://localhost:3000/@modules/@sentry/integrations.js:650
InnerModuleEvaluation self-hosted:2346
InnerModuleEvaluation self-hosted:2346
evaluation self-hosted:2317
I believe this is due to using require on line 650 var localForage = require('localforage'); while the rest of the places are using import/export.
Is there something I am doing wrong?
Package + Version
@sentry/browser@sentry/integrations@sentry/tracingVersion:
Description
When doing one of the following:
import * as Sentry from '@sentry/browser'import { Vue as VueIntegration } from '@sentry/integrations'import { Integrations } from '@sentry/tracing'I will get the following error in the browser:
I believe this is due to using require on line 650
var localForage = require('localforage');while the rest of the places are usingimport/export.Is there something I am doing wrong?