Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions packages/plugin-rsc/examples/basic/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,6 @@ import { type Plugin, defineConfig, normalizePath, parseAstAsync } from 'vite'
import inspect from 'vite-plugin-inspect'
import path from 'node:path'

// log unhandled rejection to debug e2e failures
if (!(globalThis as any).__debugHandlerRegisterd) {
process.on('uncaughtException', (err) => {
console.error('⚠️⚠️⚠️ uncaughtException ⚠️⚠️⚠️', err)
})
process.on('unhandledRejection', (err) => {
console.error('⚠️⚠️⚠️ unhandledRejection ⚠️⚠️⚠️', err)
})
;(globalThis as any).__debugHandlerRegisterd = true
}

export default defineConfig({
base: process.env.TEST_BASE ? '/custom-base/' : undefined,
clearScreen: false,
Expand Down
Loading