Skip to content

refactor(@angular/build): use envDir instead of deprecated envFile option in Vite configuration#33517

Merged
alan-agius4 merged 1 commit into
angular:mainfrom
alan-agius4:refactor-vite-envdir
Jul 6, 2026
Merged

refactor(@angular/build): use envDir instead of deprecated envFile option in Vite configuration#33517
alan-agius4 merged 1 commit into
angular:mainfrom
alan-agius4:refactor-vite-envdir

Conversation

@alan-agius4

Copy link
Copy Markdown
Collaborator

The 'envFile' option in Vite inline config is deprecated. This updates the Vite dev server configuration to use 'envDir: false' instead.

…tion in Vite configuration

The 'envFile' option in Vite inline config is deprecated. This updates the Vite dev server configuration to use 'envDir: false' instead.

@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 the Vite inline configuration in the Angular build dev-server by changing the envFile property to envDir and setting it to false. There are no review comments, and I have no feedback to provide.

@alan-agius4 alan-agius4 added action: review The PR is still awaiting reviews from at least one requested reviewer target: minor This PR is targeted for the next minor release labels Jul 6, 2026
@alan-agius4 alan-agius4 requested a review from clydin July 6, 2026 13:34
@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 Jul 6, 2026
@alan-agius4 alan-agius4 merged commit 131b4c9 into angular:main Jul 6, 2026
43 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 refactor-vite-envdir branch July 6, 2026 14:28
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: @angular/build 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