Upgrade compatibility with Vite 5
nilshelmig opened this issue · 3 comments
nilshelmig commented
Vite 5 got released and this plugin is missing compatibility with the version 5.
From first look, it seems like everything should work with version 5 and only the peer dependency needs to be added. For more information there is the migration guide
nilshelmig commented
Possibly relates to solidjs/solid-start#1123
benash commented
It looks like that linked PR will fix this. In the meantime, people can run an older version of Vite, e.g.:
npm create vite@4.4.1
codylindley commented
This will work until then in your package.json
...
"overrides": {
"vite-plugin-solid": {
"vite": "^5.0.0"
}
},
...