-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
Worker with import is failing to build since alpha.5 #8479
Comments
Odd alpha.7 stopped working for me now and I had to roll back all the way to alpha.4 |
After:
is a sign that we are waiting for rollup to finish processing a file before starting to optimize dependencies, but the file processing is blocked by the deps itself. This shouldn't be the case, a minimal reproduction would be very valuable. If not, if you can debug, this is the new logic that is affecting you:
And here:
You can set Are you using workers in your project? Check this part if that is the case:
|
Thanks for the information! I found out removing the worker import causes the build to succeed, and each build after that will continue to succeed until I remove everything under |
Yes, you can also run it with |
@SebiTalent04 the error you're seeing doesn't seems related to this issue. Would you open a new bug report with a minimal reproduction? Thanks! |
@kalvenschraut the fix for this issue has now been released in vite@3.0.0-alpha.10 |
Everything is working again as expected, trying to use the alpha for the import.meta changes. Thanks for your prompt response and fix! |
Describe the bug
I am going through the process of a major refactor into a monorepo for my company's code base and ran into the below issue when running
vite build
on alpha.8 and later while it builds successfully on alpha.7. I don't have a minimal reproduction yet, may be easier for me to debug off my codebase and attempt a PR if possible, but wanted to make an issue to see if the output was helpful or if I could be given direction to look into this issue.Reproduction
tbd
System Info
Used Package Manager
pnpm
Logs
The text was updated successfully, but these errors were encountered: