Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@
"postcss": "^8.1.0",
"process": "^0.11.10",
"react-dev-utils": "^12.0.0-next.60",
"react-refresh": "^0.14.0",
"react-refresh": "^0.18.0",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Correctness: Bumping react-refresh to ^0.18.0 is likely incompatible with @pmmmwh/react-refresh-webpack-plugin@^0.5.7 (also in dependencies), which has a peer dependency constraint requiring react-refresh in the 0.10.x0.14.x range — this will break hot module replacement at runtime.

🤖 AI Agent Prompt for Cursor/Windsurf

📋 Copy this prompt to your AI coding assistant (Cursor, Windsurf, etc.) to get help fixing this issue

In packages/cli/package.json at line 117, the react-refresh version was bumped to ^0.18.0 but @pmmmwh/react-refresh-webpack-plugin@^0.5.7 (also in dependencies) only supports react-refresh in the 0.10.x–0.14.x range as a peer dependency. Either revert react-refresh to ^0.14.0, or also upgrade @pmmmwh/react-refresh-webpack-plugin to a version that supports react-refresh 0.18.x.

"recursive-readdir": "^2.2.2",
"replace-in-file": "^6.0.0",
"rollup": "^2.60.2",
Expand Down
Loading