Skip to content

Commit

Permalink
fix react-dev-overlay replacement in monorepos
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Mar 22, 2023
1 parent 38b6028 commit 1d3dbe8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/next-swc/crates/next-core/src/next_import_map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ pub fn get_next_client_resolved_map(
let glob_mappings = vec![
// Temporary hack to replace the hot reloader until this is passable by props in next.js
(
context,
context.root(),
GlobVc::new("**/next/dist/client/components/react-dev-overlay/hot-reloader-client.js"),
ImportMapping::PrimaryAlternative(
"@vercel/turbopack-next/dev/hot-reloader.tsx".to_string(),
Expand Down

0 comments on commit 1d3dbe8

Please sign in to comment.