We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8cda51e commit c09e499Copy full SHA for c09e499
crates/next-core/src/next_config.rs
@@ -162,12 +162,11 @@ pub struct NextConfig {
162
#[turbo_tasks::value_impl]
163
impl NextConfig {
164
#[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()
+ pub fn with_analyze_config(&self) -> Vc<Self> {
+ let mut new = self.clone();
+ new.experimental.turbopack_source_maps = Some(true);
+ new.experimental.turbopack_input_source_maps = Some(false);
+ new.cell()
171
}
172
173
0 commit comments