ElMassimo / vite_ruby

⚡️ Vite.js in Ruby, bringing joy to your JavaScript experience
https://vite-ruby.netlify.app/
MIT License
1.28k stars 117 forks source link

docs: update readme to reflect vite's deprecation of globEager #430

Closed rockwellll closed 7 months ago

rockwellll commented 7 months ago

From https://github.com/ElMassimo/stimulus-vite-helpers/pull/12#issue-2048150674,

The globEager function was deprecated as of Vite 3.0 and has been removed in Vite 5.0. This updates the README to use the suggested glob function with an eager argument instead.

https://vitejs.dev/guide/migration#removed-deprecated-apis vitejs/vite#14118

I noticed that the plugins page was missing that, I was in the process of upgrading vite-ruby and had some hard time because the docs was not being reflected.

Hope this helps others out.

Thanks for this amazing project!

ElMassimo commented 7 months ago

Thanks Ahmed!