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

Support vite 3.1 #490

Merged
merged 2 commits into from
Sep 10, 2022
Merged

Support vite 3.1 #490

merged 2 commits into from
Sep 10, 2022

Conversation

IanVS
Copy link
Member

@IanVS IanVS commented Sep 1, 2022

I think we actually can support it just fine now, but our build fails due to a change in the Typescript definitions of rollup hooks. Here's an example of a failing vite ecosystem-ci build: https://github.com/vitejs/vite-ecosystem-ci/runs/8107408224?check_suite_focus=true

So, this updates the examples to vite 3.1.0-beta.1, adds a devDependency on that version for the builder itself, and does a check before calling the react-refresh transform function to make typescript happy.

@IanVS IanVS merged commit 3302bf5 into main Sep 10, 2022
@IanVS IanVS deleted the vite-3.1 branch September 10, 2022 21:21
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.

1 participant