Skip to content

[Feature request] Support vite 3.x #1008

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

Closed
David-Mueller opened this issue Aug 3, 2022 · 4 comments · Fixed by #1030
Closed

[Feature request] Support vite 3.x #1008

David-Mueller opened this issue Aug 3, 2022 · 4 comments · Fixed by #1030
Labels

Comments

@David-Mueller
Copy link

Clear and concise description of the problem

During vuepress build, the build fails while using the vite 3.0.4 dependency with the following error:

Missing "./preload-helper" export in "vite" package

FYI: vuepress dev works fine.

Suggested solution

Update @vuepress/bundler-vite to support vite 3

Alternative

No response

Additional context

Build works with vite 2.9

@meteorlxy meteorlxy added enhancement New feature or request package:bundler-vite labels Aug 4, 2022
@meteorlxy
Copy link
Member

It's already planned and WIP. Didn't have enough time to finish it yet

@David-Mueller
Copy link
Author

Great to hear that. Thanks for the amazing work so far!

@lzxb
Copy link

lzxb commented Aug 13, 2022

I need it too

@meteorlxy
Copy link
Member

Vite 3.x support is stuck because of vitejs/vite#7621.

We used to have a workaround plugin for Vite 2.x, but the implementation is not available in 3.x anymore.

@meteorlxy meteorlxy pinned this issue Aug 20, 2022
@meteorlxy meteorlxy unpinned this issue Aug 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants