We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6400b95 commit 2a51328Copy full SHA for 2a51328
crates/next-core/src/next_server/resolve.rs
@@ -285,7 +285,7 @@ impl AfterResolvePlugin for ExternalCjsModulesResolvePlugin {
285
let node_resolve_options =
286
node_cjs_resolve_options(lookup_path.root().owned().await?);
287
let node_resolved = resolve(
288
- self.project_path.clone(),
+ lookup_path.clone(),
289
reference_type.clone(),
290
request,
291
node_resolve_options,
0 commit comments