Skip to content

build: upgrade Vite to v8.0.16#33430

Merged
alan-agius4 merged 1 commit into
angular:mainfrom
alan-agius4:vite-8
Jun 22, 2026
Merged

build: upgrade Vite to v8.0.16#33430
alan-agius4 merged 1 commit into
angular:mainfrom
alan-agius4:vite-8

Conversation

@alan-agius4

Copy link
Copy Markdown
Collaborator

Update vite to version 8.

PR Checklist

Please check to confirm your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Update vite to version 8.
@angular-robot angular-robot Bot added the area: build & ci Related the build and CI infrastructure of the project label Jun 22, 2026
@alan-agius4 alan-agius4 added the target: minor This PR is targeted for the next minor release label Jun 22, 2026
@alan-agius4 alan-agius4 requested a review from clydin June 22, 2026 12:49
@alan-agius4 alan-agius4 added the action: review The PR is still awaiting reviews from at least one requested reviewer label Jun 22, 2026
@alan-agius4 alan-agius4 marked this pull request as ready for review June 22, 2026 12:49

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request updates Vite to version 8.0.16 and refactors imports across several files to use the import attribute with { 'resolution-mode': 'import' } for correct module resolution. However, in server.ts, replacing esbuild: false with oxc: false in the Vite configuration will inadvertently re-enable Vite's built-in Esbuild transform, which interferes with Angular's custom compilation pipeline. It is recommended to retain esbuild: false to prevent this issue.

Comment thread packages/angular/build/src/builders/dev-server/vite/server.ts
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Jun 22, 2026
@alan-agius4 alan-agius4 merged commit b9681c0 into angular:main Jun 22, 2026
107 of 108 checks passed
@alan-agius4

Copy link
Copy Markdown
Collaborator Author

This PR was merged into the repository. The changes were merged into the following branches:

@alan-agius4 alan-agius4 deleted the vite-8 branch June 22, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

action: merge The PR is ready for merge by the caretaker area: build & ci Related the build and CI infrastructure of the project target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants