Skip to content

Commit 937b34d

Browse files
authored
fix: move @vitejs/plugin-react to devDependencies (#101)
It is only used in vitest.config.mts for running tests and is not needed at runtime, so keeping it in dependencies made consumers transitively install it (and its deps) for no reason.
1 parent 0f789d1 commit 937b34d

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@
7373
"@types/jest": "^26.0.24",
7474
"@types/react": "^19.0.12",
7575
"@types/react-dom": "^19.0.4",
76+
"@vitejs/plugin-react": "^4.3.4",
7677
"babel-jest": "^29.7.0",
7778
"babel-plugin-module-resolver": "^4.1.0",
7879
"effector": "^23.3.0",
@@ -102,8 +103,5 @@
102103
"effector": "^23.1.0",
103104
"effector-react": "^23.1.0",
104105
"react": ">=16.8.0 <20.0.0"
105-
},
106-
"dependencies": {
107-
"@vitejs/plugin-react": "^4.3.4"
108106
}
109107
}

pnpm-lock.yaml

Lines changed: 9 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)