fix(runtime): bundle all deps to avoid bun CJS loader crash

This commit is contained in:
2026-03-14 22:13:37 +01:00
parent 7cafa0ed2f
commit cb8ffb346d
8 changed files with 23 additions and 50 deletions

View File

@@ -37,11 +37,11 @@ export default defineConfig({
devtoolsJson()
],
ssr: {
external: ['bun', 'pino', 'pino-pretty']
external: ['bun']
},
build: {
rollupOptions: {
external: ['bun', 'pino', 'pino-pretty']
external: ['bun']
},
reportCompressedSize: false
},