matthiasott / eleventy-plus-vite

A clean and fast Eleventy Starter Project with Vite
https://eleventyplusvite.netlify.app
MIT License
185 stars 30 forks source link

Vite 5? #15

Closed groenroos closed 3 weeks ago

groenroos commented 5 months ago

Does this template actually utilise the Vite 5.1.5 called for in package.json?

eleventy-plugin-vite still specifies Vite 4.x (at least until 11ty/eleventy-plugin-vite#40 is released on npm); and for me at least, running npm run build on this repo outputs:

vite v4.5.2 building for production...
matthiasott commented 5 months ago

Thanks @groenroos! I will check this… 🤔

KiwiKilian commented 3 months ago

If you check your project folder there will be Vite v4 installed into node_modules/@11ty/eleventy-plugin-vite/node_modules/vite, because it's a dependency of eleventy-plugin-vite specified to v4. If just created a PR to upgrade https://github.com/11ty/eleventy-plugin-vite/pull/46.