Skip to content

Conversation

@hi-ogawa
Copy link
Contributor

@hi-ogawa hi-ogawa commented Oct 23, 2025

Description

This PR changes build logs:

  • "building for ..." -> "build client environment for ..."
  • "building SSR bundle for ..." -> "build ssr environment for ..."

For @vitejs/plugin-rsc, I've already added extra logs like vitejs/vite-plugin-react#936, but I think it makes sense to change here directly:

example

image

@hi-ogawa hi-ogawa marked this pull request as ready for review October 23, 2025 02:06
@sapphi-red sapphi-red added p2-nice-to-have Not breaking anything but nice to have (priority) p2-edge-case Bug, but has workaround or limited in scope (priority) and removed p2-nice-to-have Not breaking anything but nice to have (priority) labels Oct 23, 2025
Copy link
Member

@sapphi-red sapphi-red left a comment

Choose a reason for hiding this comment

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

Makes sense to me 👍

@sapphi-red sapphi-red merged commit 77c25c1 into vitejs:main Oct 23, 2025
20 checks passed
@hi-ogawa hi-ogawa deleted the 10-23-fix_update_build_log_to_include_environment_name branch October 23, 2025 04:18
@hi-ogawa
Copy link
Contributor Author

Oh, I had a test case which asserts the old log, so ecosystem CI failed because of this (vitejs/vite-plugin-react#947). I wonder if there are other frameworks hit by this change.

@sapphi-red
Copy link
Member

sapphi-red commented Oct 23, 2025

It seems it only plugin-rsc was affected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p2-edge-case Bug, but has workaround or limited in scope (priority)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants