Skip to content

Merge branch 'dev-v2' into pr@dev-v2@common - #13436

Merged
zhengkunwang223 merged 3 commits into
dev-v2from
pr@dev-v2@common
Aug 1, 2026
Merged

Merge branch 'dev-v2' into pr@dev-v2@common#13436
zhengkunwang223 merged 3 commits into
dev-v2from
pr@dev-v2@common

Conversation

@zhengkunwang223

Copy link
Copy Markdown
Member

What this PR does / why we need it?

Summary of your change

Please indicate you've done the following:

  • Made sure tests are passing and test coverage is added if needed.
  • Made sure commit message follow the rule of Conventional Commits specification.
  • Considered the docs impact and opened a new docs issue or PR with docs changes if needed.

Copilot AI review requested due to automatic review settings August 1, 2026 06:07
@zhengkunwang223
zhengkunwang223 merged commit 16e3d49 into dev-v2 Aug 1, 2026
4 checks passed
@zhengkunwang223
zhengkunwang223 deleted the pr@dev-v2@common branch August 1, 2026 06:08

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Vite configuration to load the bundle visualizer plugin only when reporting is enabled, reducing unnecessary dependency loading during normal dev/build runs.

Changes:

  • Removed the static rollup-plugin-visualizer import from vite.config.ts.
  • Made the Vite config factory async and conditionally import()ed rollup-plugin-visualizer when VITE_REPORT is true.
  • Replaced the inline conditional plugin entry with a precomputed reportPlugin value.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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