Skip to content

feat: support this.environment in options and onLog hook#18142

Merged
patak-cat merged 1 commit intovitejs:mainfrom
sapphi-red:feat/support-this-environment-in-options-onolg
Sep 19, 2024
Merged

feat: support this.environment in options and onLog hook#18142
patak-cat merged 1 commit intovitejs:mainfrom
sapphi-red:feat/support-this-environment-in-options-onolg

Conversation

@sapphi-red
Copy link
Copy Markdown
Member

Description

This PR adds this.environment support in options and onLog hook. Note that onLog hook is not called in dev (#13624).

@bolt-new-by-stackblitz
Copy link
Copy Markdown

Review PR in StackBlitz Codeflow Run & review this pull request in StackBlitz Codeflow.

@sapphi-red sapphi-red added p2-nice-to-have Not breaking anything but nice to have (priority) feat: environment API Vite Environment API labels Sep 19, 2024
@patak-cat patak-cat merged commit 7722c06 into vitejs:main Sep 19, 2024
@sapphi-red sapphi-red deleted the feat/support-this-environment-in-options-onolg branch September 24, 2024 02:14
moonlitusun pushed a commit to moonlitusun/vite that referenced this pull request May 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat: environment API Vite Environment API p2-nice-to-have Not breaking anything but nice to have (priority)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants