File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11import  'dotenv/config' 
22import  *  as  fs  from  'node:fs' 
3- import  chalk  from  'chalk' 
4- import  closeWithGrace  from  'close-with-grace' 
3+ 
54import  sourceMapSupport  from  'source-map-support' 
65
76sourceMapSupport . install ( { 
Original file line number Diff line number Diff line change 11import  crypto  from  'node:crypto' 
22import  {  createRequestHandler  }  from  '@remix-run/express' 
3- import  {  installGlobals ,   type  ServerBuild  }  from  '@remix-run/node' 
3+ import  {  type  ServerBuild  }  from  '@remix-run/node' 
44import  Sentry  from  '@sentry/remix' 
55import  {  ip  as  ipAddress  }  from  'address' 
66import  chalk  from  'chalk' 
@@ -12,8 +12,6 @@ import getPort, { portNumbers } from 'get-port'
1212import  helmet  from  'helmet' 
1313import  morgan  from  'morgan' 
1414
15- installGlobals ( {  nativeFetch : true  } ) 
16- 
1715const  MODE  =  process . env . NODE_ENV  ??  'development' 
1816const  IS_PROD  =  MODE  ===  'production' 
1917const  IS_DEV  =  MODE  ===  'development' 
Original file line number Diff line number Diff line change 11import  {  vitePlugin  as  remix  }  from  '@remix-run/dev' 
2+ import  {  installGlobals  }  from  '@remix-run/node' 
23import  {  sentryVitePlugin  }  from  '@sentry/vite-plugin' 
34import  {  glob  }  from  'glob' 
45import  {  flatRoutes  }  from  'remix-flat-routes' 
@@ -11,6 +12,8 @@ declare module '@remix-run/server-runtime' {
1112	} 
1213} 
1314
15+ installGlobals ( {  nativeFetch : true  } ) 
16+ 
1417const  MODE  =  process . env . NODE_ENV 
1518
1619export  default  defineConfig ( { 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments