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

vite6.0.7 packaging @vue/reactivity exception #19159

Closed
7 tasks done
Caaalabash opened this issue Jan 8, 2025 · 1 comment
Closed
7 tasks done

vite6.0.7 packaging @vue/reactivity exception #19159

Caaalabash opened this issue Jan 8, 2025 · 1 comment

Comments

@Caaalabash
Copy link

Describe the bug

when I upgrade vite from 4.3.9 to 6.0.7 and run build, I found some code are lost:

  1. example code
image
  1. change vite version to 5.0.0-beta.9, run npm build
image
  1. change vite version to 5.0.0-beta.10 or 6.0.7, run npm install && npm run build
image

check the changelog, found this.

image

Is this a bug in rollup v4? or this is the right behavior?

Reproduction

https://stackblitz.com/edit/vitejs-vite-t5w3pav5?file=utils.ts

Steps to reproduce

System Info

-

Used Package Manager

npm

Logs

Validations

@Caaalabash
Copy link
Author

right behavior of treeshake

@github-actions github-actions bot locked and limited conversation to collaborators Jan 24, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant