Version 5.0.2 of the plugin breaks the Vue migration build in MODE: 2 #330
Labels
bug: upstream
Bug in a dependency of this repository
bug
Something isn't working
p5-urgent 🔥
Fix build-breaking bugs affecting most users, should be released ASAP (priority)
Related plugins
plugin-vue
plugin-vue-jsx
Describe the bug
Hi,
I am moving a Vue 2 (Vite) application to the Vue migration build. After investigation, I found that version 5.0.2 breaks the Vue migration build if configured with MODE: 2. Version 5.0.1 works fine.
Reproduction
https://stackblitz.com/edit/vitejs-vite-1vh64v?file=package.json
Steps to reproduce
The reproduction repo should work by default.
Change the
@vitejs/plugin-vue
version from 5.0.1 to 5.0.2 and runnpm install && npm run dev
in the terminal. Vite now outputs an[plugin:vite:vue] Cannot read properties of undefined (reading 'start')
error.System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: