chore(sentry): use correct chunks option
Some checks are pending
continuous-integration/drone/pr Build is pending
Some checks are pending
continuous-integration/drone/pr Build is pending
This commit is contained in:
parent
68a137acf9
commit
2fad45e016
@ -218,15 +218,17 @@ export default defineConfig(({mode}) => {
|
||||
port: 4173,
|
||||
strictPort: true,
|
||||
},
|
||||
output: {
|
||||
manualChunks: {
|
||||
// by putting tracking related stuff in a separated file we try to prevent unwanted blocking from ad-blockers
|
||||
sentry: ['./src/sentry.ts', '@sentry/vue', '@sentry/tracing'],
|
||||
},
|
||||
},
|
||||
build: {
|
||||
target: 'esnext',
|
||||
// required for sentry debugging: tells vite to create source maps
|
||||
sourcemap: true,
|
||||
rollupOptions: {
|
||||
manualChunks: {
|
||||
// by putting tracking related stuff in a separated file we try to prevent unwanted blocking from ad-blockers
|
||||
sentry: ['./src/sentry.ts', '@sentry/vue', '@sentry/tracing']
|
||||
},
|
||||
plugins: [
|
||||
visualizer({
|
||||
filename: 'stats.html',
|
||||
|
Reference in New Issue
Block a user