Skip to content
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

refactor: proxy environment logger, remove hardcoded [vite] from hmr logger #16407

Merged
merged 6 commits into from
Apr 12, 2024

Conversation

sheremet-va
Copy link
Member

Description

Added a proxy that injects the environment name whenever this.environment.logger.{method} is called

Copy link

stackblitz bot commented Apr 12, 2024

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

@patak-dev
Copy link
Member

Oh, approved without looking at CI. It seems our tests are checking for dated console log messages after this PR

@sheremet-va sheremet-va changed the title refactor: proxy environment logger refactor: proxy environment logger, remove hardcoded [vite] from hmr logger Apr 12, 2024
@patak-dev patak-dev merged commit 59b995e into vitejs:feat/environment-api Apr 12, 2024
6 checks passed
@sheremet-va sheremet-va deleted the fix/proxy-logger branch April 12, 2024 10:15
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