core icon indicating copy to clipboard operation
core copied to clipboard

[Feature request] Support vite 3.x

Open David-Mueller opened this issue 3 years ago • 4 comments

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

David-Mueller avatar Aug 03 '22 10:08 David-Mueller

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

meteorlxy avatar Aug 04 '22 14:08 meteorlxy

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

David-Mueller avatar Aug 04 '22 16:08 David-Mueller

I need it too

lzxb avatar Aug 13 '22 04:08 lzxb

Vite 3.x support is stuck because of https://github.com/vitejs/vite/issues/7621.

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

meteorlxy avatar Aug 17 '22 17:08 meteorlxy