Skip to content

fix: respect runtime rolldownOptions.input mutations in builder#22051

Closed
raashish1601 wants to merge 1 commit into
vitejs:mainfrom
raashish1601:contributor-06/vite-22033
Closed

fix: respect runtime rolldownOptions.input mutations in builder#22051
raashish1601 wants to merge 1 commit into
vitejs:mainfrom
raashish1601:contributor-06/vite-22033

Conversation

@raashish1601

Copy link
Copy Markdown

Summary

  • read the build entry from rolldownOptions.input when resolving Rolldown build inputs
  • keep the existing index.html fallback only when no runtime input override is present
  • add a regression covering builder.environments.client.config.build.rolldownOptions mutations before builder.build(...)

Validation

  • corepack pnpm exec vitest run packages/vite/src/node/__tests__/build.spec.ts -t "builder respects runtime rolldownOptions.input mutations"
  • corepack pnpm --filter vite build

@sapphi-red

Copy link
Copy Markdown
Member

This doesn't change the behavior.

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