Skip to content

Commit

Permalink
build(api): disable Sentry uploading in development
Browse files Browse the repository at this point in the history
This avoids some warnings from Sentry in development when there are no
Sentry environment variables.
  • Loading branch information
JoosepAlviste committed Oct 20, 2023
1 parent 39ea732 commit 01c7fd4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/webapp/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export default ({ mode }: { mode: string }) => {
project: process.env.SENTRY_PROJECT,
authToken: process.env.SENTRY_AUTH_TOKEN,
telemetry: false,
disable: process.env.NODE_ENV !== 'production',
}),
VitePWA({
includeAssets: [
Expand Down

0 comments on commit 01c7fd4

Please sign in to comment.