Upgrade build pipeline to Vite 8#1115
Draft
johnbillion with Copilot wants to merge 2 commits into
Draft
Conversation
Agent-Logs-Url: https://github.com/johnbillion/query-monitor/sessions/7c509ec8-0e80-4459-a51b-ee7199fab7f9 Co-authored-by: johnbillion <208434+johnbillion@users.noreply.github.com>
Agent-Logs-Url: https://github.com/johnbillion/query-monitor/sessions/7c509ec8-0e80-4459-a51b-ee7199fab7f9 Co-authored-by: johnbillion <208434+johnbillion@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
johnbillion
May 11, 2026 09:39
View session
@kucrut/vite-for-wp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This updates the frontend build toolchain to Vite 8 and applies the required migration away from deprecated Rollup-specific config paths. It also removes Vite 7-only integration code and dependencies that are no longer compatible/needed.
Dependency upgrades and removals
vitefrom^7.3.1to^8.0.11.@preact/preset-viteto^2.10.5to match Vite 8 peer support.@kucrut/vite-for-wp(locked to Vite 7 peer range).Vite 8 migration
build.rollupOptionstobuild.rolldownOptionsin:vite.config.jsvite.extension.config.jsquery-monitor.js, stable asset names, existing out dirs).Replacement of removed plugin behavior
v4wp()usage with explicit native Vite config (base,build.outDir,emptyOutDir,modulePreload,css.devSourcemap, dev server settings).assets/build/vite-dev-server.jsonduring dev so existing PHP manifest detection continues to work.