File tree 1 file changed +5
-6
lines changed
1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -1503,12 +1503,11 @@ impl NextConfig {
1503
1503
}
1504
1504
1505
1505
#[ turbo_tasks:: function]
1506
- pub async fn client_source_maps ( & self , mode : Vc < NextMode > ) -> Result < Vc < bool > > {
1507
- let source_maps = self . experimental . turbopack_source_maps ;
1508
- Ok ( Vc :: cell ( source_maps. unwrap_or ( match & * mode. await ? {
1509
- NextMode :: Build => self . production_browser_source_maps ,
1510
- NextMode :: Development => true ,
1511
- } ) ) )
1506
+ pub async fn client_source_maps ( & self , _mode : Vc < NextMode > ) -> Result < Vc < bool > > {
1507
+ // Temporarily always enable client source maps as tests regress.
1508
+ // TODO: Respect both `self.experimental.turbopack_source_maps` and
1509
+ // `self.production_browser_source_maps`
1510
+ Ok ( Vc :: cell ( true ) )
1512
1511
}
1513
1512
1514
1513
#[ turbo_tasks:: function]
You can’t perform that action at this time.
0 commit comments