Last 12 weeks · 305 commits
5 of 6 standards met
Problem takes precedence over during the lightningcss minification step, but this was not documented (see #17900). Fix : note that takes precedence over when is (the default). : same note for the CSS minification section. : update the JSDoc. Linked issue Fixes #17900 Verification pass pass (one pre-existing warning in ) pass
Describe the bug With and a non-root (e.g. ), dynamic in dev requests: instead of: Because the path omits , Vite's base middleware returns 404 ("did you mean "). Expected: lazy proxy URL is prefixed with . Actual: hardcoded without . Notes: Works with Works if the URL is manually rewritten to include Production ( + ) under the same non-root works — dev-only Reproduction https://stackblitz.com/github/dark1451/issue-vite-bundleddev-base-lazy?file=vite.config.ts Steps to reproduce 1. Open the reproduction (or clone + + ) 2. Open http://localhost:5173/web-packages/ (StackBlitz: open preview under ) 3. Open DevTools → Network → filter 4. Click "Load lazy module" 5. Observe → 404 6. Open the same URL with inserted after the origin → 200 7. Set → dynamic import works 8. with → works System Info Used Package Manager npm Logs Click to expand! Validations [x] Follow our Code of Conduct [x] Read the Contributing Guidelines. [x] Read the docs. [x] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. [x] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead. [x] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server. [x] The provided reproduction is a minimal reproducible example of the bug.
Repository: vitejs/vite. Description: Next generation frontend tooling. It's fast! Stars: 82333, Forks: 8643. Primary language: TypeScript. Languages: TypeScript (83%), JavaScript (9.4%), HTML (4.4%), CSS (2.6%), Vue (0.2%). License: MIT. Homepage: http://vite.dev Topics: build-tool, dev-server, frontend, hmr, vite. Latest release: plugin-legacy@8.2.3 (6d ago). Open PRs: 100, open issues: 687. Last activity: 4h ago. Community health: 87%. Top contributors: yyx990803, sapphi-red, patak-cat, bluwy, renovate[bot], antfu, btea, hi-ogawa, underfin, shulaoda and others.