@@ -669,27 +669,21 @@ function assignDefaults(
669
669
result . deploymentId = process . env . NEXT_DEPLOYMENT_ID
670
670
}
671
671
672
- if ( result ?. outputFileTracingRoot && ! result ?. experimental ?. turbo ?. root ) {
673
- dset (
674
- result ,
675
- [ 'experimental' , 'turbo' , 'root' ] ,
676
- result . outputFileTracingRoot
677
- )
672
+ if ( result ?. outputFileTracingRoot && ! result ?. turbopack ?. root ) {
673
+ dset ( result , [ 'turbopack' , 'root' ] , result . outputFileTracingRoot )
678
674
}
679
675
680
676
// use the closest lockfile as tracing root
681
- if ( ! result ?. outputFileTracingRoot || ! result ?. experimental ?. turbo ?. root ) {
677
+ if ( ! result ?. outputFileTracingRoot || ! result ?. turbopack ?. root ) {
682
678
let rootDir = findRootDir ( dir )
683
679
684
680
if ( rootDir ) {
685
681
if ( ! result ?. outputFileTracingRoot ) {
686
682
result . outputFileTracingRoot = rootDir
687
- defaultConfig . outputFileTracingRoot = result . outputFileTracingRoot
688
683
}
689
684
690
- if ( ! result ?. experimental ?. turbo ?. root ) {
691
- dset ( result , [ 'experimental' , 'turbo' , 'root' ] , rootDir )
692
- dset ( defaultConfig , [ 'experimental' , 'turbo' , 'root' ] , rootDir )
685
+ if ( ! result ?. turbopack ?. root ) {
686
+ dset ( result , [ 'turbopack' , 'root' ] , rootDir )
693
687
}
694
688
}
695
689
}
0 commit comments