diff --git a/packages/next-swc/crates/next-core/src/next_import_map.rs b/packages/next-swc/crates/next-core/src/next_import_map.rs index 55bd0161b563a..3d3aac81dc4d5 100644 --- a/packages/next-swc/crates/next-core/src/next_import_map.rs +++ b/packages/next-swc/crates/next-core/src/next_import_map.rs @@ -605,10 +605,7 @@ async fn insert_next_server_special_aliases( import_map.insert_exact_alias( "@vercel/og", - external_if_node( - project_path, - "next/dist/server/web/spec-extension/image-response", - ), + external_if_node(project_path, "next/dist/server/og/image-response"), ); Ok(())