Skip to content

chore: improve dependency optimizer messages#22549

Open
cpojer wants to merge 5 commits into
vitejs:mainfrom
cpojer:main
Open

chore: improve dependency optimizer messages#22549
cpojer wants to merge 5 commits into
vitejs:mainfrom
cpojer:main

Conversation

@cpojer
Copy link
Copy Markdown
Contributor

@cpojer cpojer commented May 29, 2026

I was using Vite and was kinda surprised that the dep optimizer outputs a sparkles emoji. I removed the emoji (since it doesn't say anything) and updated the messages to be more actionable + added a link to the docs to explain why adding to optimizeDeps.include makes sense.

Feel free to disregard if the emoji have a special meaning that I'm not aware of.

@cpojer cpojer changed the title style: Improve dependency optimizer messages. style: improve dependency optimizer messages. May 29, 2026
Comment thread packages/vite/src/node/optimizer/optimizer.ts Outdated
@sapphi-red sapphi-red changed the title style: improve dependency optimizer messages. chore: improve dependency optimizer messages Jun 1, 2026
@sapphi-red sapphi-red added the p1-chore Doesn't change code behavior (priority) label Jun 1, 2026
sapphi-red
sapphi-red previously approved these changes Jun 1, 2026
Comment thread packages/vite/src/node/optimizer/optimizer.ts Outdated
Comment thread packages/vite/src/node/optimizer/optimizer.ts Outdated
Comment thread packages/vite/src/node/optimizer/optimizer.ts Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p1-chore Doesn't change code behavior (priority)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants