diff --git a/crates/next-core/src/app_page_loader_tree.rs b/crates/next-core/src/app_page_loader_tree.rs index eea38f65235211..f62be04f7f6236 100644 --- a/crates/next-core/src/app_page_loader_tree.rs +++ b/crates/next-core/src/app_page_loader_tree.rs @@ -213,7 +213,8 @@ impl AppPageLoaderTreeBuilder { let identifier = magic_identifier::mangle(&format!("{name} #{i}")); let inner_module_id = format!("METADATA_{i}"); let helper_import: RcStr = "import { fillMetadataSegment } from \ - \"next/dist/lib/metadata/get-metadata-route\"" + 'next/dist/lib/metadata/get-metadata-route' with { \ + 'turbopack-transition': 'next-server-utility' }" .into(); if !self.base.imports.contains(&helper_import) {