diff --git a/packages/next-plugin-rspack/package.json b/packages/next-plugin-rspack/package.json index 944a6b92fc250..14f06a12988bd 100644 --- a/packages/next-plugin-rspack/package.json +++ b/packages/next-plugin-rspack/package.json @@ -7,6 +7,7 @@ }, "dependencies": { "@rspack/core": "npm:@rspack-canary/core@1.2.9-canary-c009cfc1-20250313053424", - "@rspack/plugin-react-refresh": "1.0.1" + "@rspack/plugin-react-refresh": "1.0.1", + "react-refresh": "0.12.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f94fbb9a2d893..b4c48618ca321 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -1651,6 +1651,9 @@ importers: '@rspack/plugin-react-refresh': specifier: 1.0.1 version: 1.0.1(react-refresh@0.12.0) + react-refresh: + specifier: 0.12.0 + version: 0.12.0 packages/next-plugin-storybook: {}