2022-04-07 11:26:52 +00:00
|
|
|
import * as Sentry from "@sentry/browser";
|
|
|
|
import { Integrations } from "@sentry/tracing";
|
|
|
|
|
|
|
|
Sentry.init({
|
|
|
|
dsn: "https://58109fec589f4c2bbfa190329acf679a@sentry.pluralkit.me/4",
|
|
|
|
integrations: [new Integrations.BrowserTracing()],
|
|
|
|
|
2022-04-07 13:21:57 +00:00
|
|
|
enabled: !window.location.origin.includes("localhost"),
|
2022-04-07 11:26:52 +00:00
|
|
|
debug: false,
|
2022-06-05 17:07:56 +00:00
|
|
|
// @ts-expect-error
|
|
|
|
release: window.pluralkitVersion,
|
2022-04-07 11:26:52 +00:00
|
|
|
// Set tracesSampleRate to 1.0 to capture 100%
|
|
|
|
// of transactions for performance monitoring.
|
|
|
|
// We recommend adjusting this value in production
|
|
|
|
tracesSampleRate: 1.0,
|
|
|
|
});
|
|
|
|
|
2021-12-09 11:53:54 +00:00
|
|
|
import App from './App.svelte'
|
|
|
|
|
|
|
|
const app = new App({
|
|
|
|
target: document.getElementById('app')
|
|
|
|
})
|
|
|
|
|
|
|
|
export default app
|