add code chunking to vite.config.ts

This commit is contained in:
Amruth Pillai
2024-05-07 11:45:33 +02:00
parent e21430a421
commit e3785030e1
11 changed files with 616 additions and 707 deletions

View File

@ -24,9 +24,9 @@ if (import.meta.env.VITE_CLIENT_SENTRY_DSN) {
}),
Sentry.replayIntegration(),
],
tracesSampleRate: 0.5,
replaysOnErrorSampleRate: 0.5,
replaysSessionSampleRate: 0.25,
tracesSampleRate: 1,
replaysOnErrorSampleRate: 1,
replaysSessionSampleRate: 1,
});
}

View File

@ -4,6 +4,7 @@
declare const appVersion: string;
interface ImportMetaEnv {
SENTRY_AUTH_TOKEN: string | undefined;
VITE_CLIENT_SENTRY_DSN: string | undefined;
VITE_DISABLE_SIGNUPS: string | undefined;
}