Skip to content

Commit

Permalink
make bundle size consistent with CI
Browse files Browse the repository at this point in the history
  • Loading branch information
incognitojam committed Jan 31, 2025
1 parent a1aa03f commit 0981518
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@ import { render } from 'solid-js/web'
import App from './App'

const environment = import.meta.env.VITE_SENTRY_ENVIRONMENT as string | undefined
if (environment) {
Sentry.init({
dsn: 'https://[email protected]/4508738328854529',
environment,
})
}
Sentry.init({
enabled: !!environment,
dsn: 'https://[email protected]/4508738328854529',
environment,
})

const root = document.getElementById('root')

Expand Down

0 comments on commit 0981518

Please sign in to comment.