File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import { existsSync } from 'fs'
55import  {  italic  }  from  '../lib/picocolors' 
66import  build  from  '../build' 
77import  {  warn  }  from  '../build/output/log' 
8- import  {  printAndExit  }  from  '../server/lib/utils' 
8+ import  {  parseBundlerArgs ,   printAndExit  }  from  '../server/lib/utils' 
99import  isError  from  '../lib/is-error' 
1010import  {  getProjectDir  }  from  '../lib/get-project-dir' 
1111import  {  enableMemoryDebuggingMode  }  from  '../lib/memory/startup' 
Original file line number Diff line number Diff line change @@ -165,9 +165,11 @@ export async function validateTurboNextConfig({
165165  if  ( process . env . TURBOPACK  ===  'auto'  &&  hasWebpackConfig  &&  ! hasTurboConfig )  { 
166166    const  logMethod  =  isDev  ? Log . warn  : Log . error 
167167    // In a production build with auto-detected Turbopack, we want to fail the build. 
168-     logMethod ( `Webpack is configured while Turbopack is not.` ) 
169168    logMethod ( 
170-       `See instructions if you need to configure Turbopack:\n  https://nextjs.org/docs/app/api-reference/next-config-js/turbopack` 
169+       `Webpack is configured while Turbopack is not. This may be a mistake.` 
170+     ) 
171+     logMethod ( 
172+       `To configure Turbopack, see:\n  https://nextjs.org/docs/app/api-reference/next-config-js/turbopack` 
171173    ) 
172174    logMethod ( 
173175      `TIP: Silence this ${ isDev  ? 'warning'  : 'error' }  
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments