Allow importing package without webpack
This commit is contained in:
parent
2d3ecc8f98
commit
260d32795a
1 changed files with 11 additions and 8 deletions
|
|
@ -1,7 +1,5 @@
|
|||
import * as Sentry from "@sentry/browser";
|
||||
|
||||
// @ts-expect-error, injected by webpack
|
||||
const packageVersion = __CURRENT_VERSION__; // eslint-disable-line
|
||||
import { packageVersion } from "./package-version";
|
||||
|
||||
export const setUpTelemetry = (): (() => void) => {
|
||||
Sentry.init({
|
||||
|
|
|
|||
Loading…
Reference in a new issue