Repository navigation
fix(vite-dev-server): sync Vite 8.3.1 runtime fixes - #48
Merged
Merged
Conversation
…dependencies Port vitejs/vite#23437 (ef0dc17ad).
…ssets regexp Port vitejs/vite#23491 (f4b4431a2).
…ntent Port vitejs/vite#23519 (04fc30a4b).
…wardConsole Port vitejs/vite#23565 (e64a5877d).
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.
Sync the existing Vite-derived code with the Vite 8.3.1 fixes that affect the preview Worker runtime (
refers/vite42a4ea7 → cf5c028):node_modulespath segments as dependencies (fix #17467) vitejs/vite#23437: only treat wholenode_modulespath segments as dependenciesDEFAULT_ASSETS_REfindwithsomevitejs/vite#23554: replacefindwithsomeinpreAliasPluginserver.ws: falsein mergeConfig vitejs/vite#23511: handleserver.ws: falseinmergeConfigforwardConsolevitejs/vite#23565: limit object and array printing viaforwardConsole, addingshared/pretty-format.ts(about +2.1 kB todist/client/client.mjs)Each upstream change is a separate commit, with its tests ported to the adjacent
*.test.tsfiles and upstream snapshot expectations written inline.Parity-only updates to the disabled optimizer and build-time asset URL paths (#23489, #23540, #23566, #23567, #23586, #23590, #23600) are left for a separate change. Changes to code that is not ported (bundled dev,
buildHtmlPlugin,resolveRolldownOptions, proxy, SSR) and dependency upgrades are not included.Validated with typecheck, lint and
vp run test:unit:vite:node(629 → 642 tests). Integration and E2E tests were not run locally.