Skip to content

Commit

Permalink
Add another NextServerUtilityTransition
Browse files Browse the repository at this point in the history
  • Loading branch information
mischnic committed Dec 10, 2024
1 parent 8d48db9 commit 9ad8cd2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crates/next-core/src/app_page_loader_tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9ad8cd2

Please sign in to comment.