Skip to content

fix(plugin-vite): wait for main bundle before starting app #3944

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

Merged
merged 4 commits into from
May 30, 2025

Conversation

erickzhao
Copy link
Member

@erickzhao erickzhao commented May 29, 2025

Fixes a regression from #3939 where I removed the part where we manually resolve the promise on the Rollup closeBundle hook.

This didn't impact my sample app testing at the time, but causes issues in larger apps that take longer to build.

@erickzhao erickzhao marked this pull request as ready for review May 29, 2025 17:12
@erickzhao erickzhao requested a review from a team as a code owner May 29, 2025 17:12
Copy link
Member

@BlackHole1 BlackHole1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@erickzhao erickzhao added this pull request to the merge queue May 30, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 30, 2025
@erickzhao erickzhao added this pull request to the merge queue May 30, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks May 30, 2025
@erickzhao erickzhao added this pull request to the merge queue May 30, 2025
Merged via the queue into main with commit 4f879f5 May 30, 2025
12 checks passed
@erickzhao erickzhao deleted the vite/main-bundle branch May 30, 2025 21:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants