File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed
packages/plugin-rsc/examples/basic Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,15 @@ import inspect from 'vite-plugin-inspect'
77import path from 'node:path'
88
99// log unhandled rejection to debug e2e failures
10- if ( ! ( globalThis as any ) . __debugHandlerRegisterd ) {
11- process . on ( 'uncaughtException' , ( err ) => {
12- console . error ( '⚠️⚠️⚠️ uncaughtException ⚠️⚠️⚠️' , err )
13- } )
14- process . on ( 'unhandledRejection' , ( err ) => {
15- console . error ( '⚠️⚠️⚠️ unhandledRejection ⚠️⚠️⚠️' , err )
16- } )
17- ; ( globalThis as any ) . __debugHandlerRegisterd = true
18- }
10+ // if (!(globalThis as any).__debugHandlerRegisterd) {
11+ // process.on('uncaughtException', (err) => {
12+ // console.error('⚠️⚠️⚠️ uncaughtException ⚠️⚠️⚠️', err)
13+ // })
14+ // process.on('unhandledRejection', (err) => {
15+ // console.error('⚠️⚠️⚠️ unhandledRejection ⚠️⚠️⚠️', err)
16+ // })
17+ // ;(globalThis as any).__debugHandlerRegisterd = true
18+ // }
1919
2020export default defineConfig ( {
2121 base : process . env . TEST_BASE ? '/custom-base/' : undefined ,
You can’t perform that action at this time.
0 commit comments