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

fix(optimizer): log unoptimizable entries #12138

Merged
merged 1 commit into from
Feb 22, 2023
Merged

Conversation

Narretz
Copy link
Contributor

@Narretz Narretz commented Feb 21, 2023

Description

If a dependency in optimizeDeps.include cannot be optimized, it should be logged. However, the id wasn't passed to the log function, so logging never happened.

Additional context


What is the purpose of this pull request?

  • Bug fix
  • New Feature
  • Documentation update
  • Other

If a depdency in optimizeDeps.include cannot be optimized, it should be logged. However, the id wasn't passed to the function, so it was never logged.
Copy link
Member

@bluwy bluwy left a comment

Choose a reason for hiding this comment

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

Good catch!

@bluwy bluwy changed the title Fix logging in optimizeDeps.include fix(optimizer): log unoptimizable entries Feb 22, 2023
@bluwy bluwy enabled auto-merge (squash) February 22, 2023 04:03
@bluwy bluwy merged commit 2c93e0b into vitejs:main Feb 22, 2023
futurGH pushed a commit to futurGH/vite that referenced this pull request Feb 26, 2023
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