From d2c21bf7664ab8c991dda1d3295f4b867540a632 Mon Sep 17 00:00:00 2001 From: OJ Kwon <1210596+kwonoj@users.noreply.github.com> Date: Wed, 25 Oct 2023 10:07:01 -0700 Subject: [PATCH] fix(next-core): adjust og alias --- packages/next-swc/crates/next-core/src/next_import_map.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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(())