Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for vite 5, which changed default manifest path #421

Merged
merged 4 commits into from
Nov 16, 2023

Conversation

ElMassimo
Copy link
Owner

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.

@ElMassimo ElMassimo merged commit a6534d7 into main Nov 16, 2023
21 checks passed
@ElMassimo ElMassimo deleted the vite-5 branch November 16, 2023 20:26
@franzliedke
Copy link

Did this only add support for Vite 5? It looks like it also removed support for older versions, correct?

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