Closed ElMassimo closed 9 months ago
This pull request adds support for Vite 5 in vite_ruby.
vite_ruby
It also modifies vite-plugin-ruby to output its manifest to .vite/manifest-assets.json, in alignment with Vite.
vite-plugin-ruby
.vite/manifest-assets.json
In Vite 5, the manifest has a new location, under .vite/manifest.json.
.vite/manifest.json
To avoid breaking existing builds which might be cached, we will still search for manifests in the old locations, during a transitional period.
Did this only add support for Vite 5? It looks like it also removed support for older versions, correct?
Description 📖
This pull request adds support for Vite 5 in
vite_ruby
.It also modifies
vite-plugin-ruby
to output its manifest to.vite/manifest-assets.json
, in alignment with Vite.Background 📜
In Vite 5, the manifest has a new location, under
.vite/manifest.json
.To avoid breaking existing builds which might be cached, we will still search for manifests in the old locations, during a transitional period.