fix(build): externalize sentry from vite bundle for bun compat
This commit is contained in:
@@ -17,11 +17,11 @@ export default defineConfig({
|
||||
devtoolsJson()
|
||||
],
|
||||
ssr: {
|
||||
external: ['bun', 'pino', 'pino-pretty']
|
||||
external: ['bun', 'pino', 'pino-pretty', '@sentry/sveltekit', '@sentry/node']
|
||||
},
|
||||
build: {
|
||||
rollupOptions: {
|
||||
external: ['bun', 'pino', 'pino-pretty']
|
||||
external: ['bun', 'pino', 'pino-pretty', '@sentry/sveltekit', '@sentry/node']
|
||||
},
|
||||
reportCompressedSize: false
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user