[vite:legacy-post-process] unknown file: res is not defined #10877
Labels
bug: upstream
Bug in a dependency of Vite
p3-minor-bug
An edge case that only affects very specific usage (priority)
plugin: legacy
Describe the bug
If I import
prettier
in my source code,@vite/plugin-legacy
will throw the following error during build:Maybe an upstream bug from
@babel/standalone
Reproduction
https://stackblitz.com/edit/vitejs-vite-bntcjx
Steps to reproduce
No response
System Info
Used Package Manager
pnpm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: