Skip to content

Commit 09e1b6f

Browse files
committed
Attempt to fix Turbopack error
I have no idea what I'm doing in this part of the codebase but someone suggested this might work? Let's see.
1 parent e3b5bec commit 09e1b6f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

crates/next-core/src/next_import_map.rs

+4
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,10 @@ pub async fn get_next_server_import_map(
342342
.resolved_cell();
343343

344344
import_map.insert_exact_alias("next/dist/server/require-hook", external);
345+
import_map.insert_exact_alias(
346+
"private-next-instrumentation-client",
347+
ImportMapping::Ignore.resolved_cell(),
348+
);
345349
match ty {
346350
ServerContextType::Pages { .. }
347351
| ServerContextType::PagesData { .. }

0 commit comments

Comments
 (0)