-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
Which project does this relate to?
Router
Describe the bug
@tanstack/react-router-devtools has vite as a dependency
router/packages/react-router-devtools/package.json
Lines 64 to 67 in 34d13e5
| "dependencies": { | |
| "@tanstack/router-devtools-core": "workspace:*", | |
| "vite": "^7.1.7" | |
| }, |
but is should be a
devDependency
The same happens with @tanstack/router-devtools, @tanstack/router-devtools-core and @tanstack/solid-router-devtools
Your Example Website or App
https://stackblitz.com/edit/github-sa2eedew?file=package-lock.json
Steps to Reproduce the Bug or Issue
npm install
npm ls --all
a lot of unnecessary dependencies appear when only @tanstack/react-router-devtools is installed.
Expected behavior
vite should be in devDependencies so that it is not installed on projects using @tanstack/react-router-devtools
Screenshots or Videos
No response
Platform
- Router / Start Version: 1.139.12
- OS: Linux
- Browser: N/A
- Browser Version: N/A
- Bundler: N/A
- Bundler Version: N/A
Additional context
No response
Trombecher
Metadata
Metadata
Assignees
Labels
No labels