Skip to content

Commit c09e499

Browse files
committed
fixup
1 parent 8cda51e commit c09e499

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

crates/next-core/src/next_config.rs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,11 @@ pub struct NextConfig {
162162
#[turbo_tasks::value_impl]
163163
impl NextConfig {
164164
#[turbo_tasks::function]
165-
pub fn with_production_browser_source_maps(&self) -> Vc<Self> {
166-
Self {
167-
production_browser_source_maps: true,
168-
..self.clone()
169-
}
170-
.cell()
165+
pub fn with_analyze_config(&self) -> Vc<Self> {
166+
let mut new = self.clone();
167+
new.experimental.turbopack_source_maps = Some(true);
168+
new.experimental.turbopack_input_source_maps = Some(false);
169+
new.cell()
171170
}
172171
}
173172

0 commit comments

Comments
 (0)