Skip to content

fix: ensure devDependencies exists before setting vite version#21795

Open
Ocheretovich wants to merge 1 commit intovitejs:mainfrom
Ocheretovich:main
Open

fix: ensure devDependencies exists before setting vite version#21795
Ocheretovich wants to merge 1 commit intovitejs:mainfrom
Ocheretovich:main

Conversation

@Ocheretovich
Copy link

Guard against missing devDependencies when updating template vite version

@bluwy
Copy link
Member

bluwy commented Mar 9, 2026

Why is this needed?

@Ocheretovich
Copy link
Author

Some templates don’t have devDependencies. Without this, the script would throw when trying to set vite

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants