diff --git a/packages/mocker/package.json b/packages/mocker/package.json
index bcdbef090411..172bfd11bfdc 100644
--- a/packages/mocker/package.json
+++ b/packages/mocker/package.json
@@ -55,7 +55,7 @@
   },
   "peerDependencies": {
     "msw": "^2.4.9",
-    "vite": "^5.0.0"
+    "vite": "^5.0.0 || ^6.0.0"
   },
   "peerDependenciesMeta": {
     "msw": {