Static build: frame/panel URLs are still absolute when output is hosted at a subpath
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 58/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- node.js, typescript
- Domain
- build-system, frontend
Research direction
Run the provided reproduction with npm ci and npm run build -- --base /ci-build-123456/, then inspect the emitted manifests and RPC dumps for the root-absolute frame and panel URLs. Trace where those URLs are generated and verify that the emitted links resolve under the configured subpath without causing panel 404s.
Written by the indexing model from the issue text.
Description
Describe the bug
Follow-up to vitejs/devtools#554.
After the fix, the root redirect and the DevTools SPA itself resolve correctly under a deploy base, but the URLs baked into the emitted manifests and RPC dumps are still root-absolute, so every sub-panel 404s.
Reproduction
Clone https://github.com/arkadiusz-swierczek-pm/vite-devtools-static-output-subpath;
npm ci;
npm run build -- --base /ci-build-123456/;
node server.ts
System Info
System:
OS: Windows 11 10.0.26200
CPU: (12) x64 Intel(R) Core(TM) i7-10850H CPU @ 2.70GHz
Memory: 19.77 GB / 31.61 GB
Binaries:
Node: 24.14.0 - C:\Program Files\nodejs\node.EXE
npm: 11.9.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 153.0.8010.52
Edge: Chromium (152.0.4191.53)
Firefox: 148.0 - C:\Program Files\Mozilla Firefox\firefox.exe
Used Package Manager
npm
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.
- Dominant language
- TypeScript
- Stars
- 1.2k
- Forks
- 89
- Avg merge
- 18h 46m
- Merged PRs (30d)
- 24
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from vitejs/devtools
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
enhancement
-
pending triage
Difficulty 4/5 3-5 days Newbie friendliness 35/100
-
pending triage
Difficulty 3/5 1-2 days Newbie friendliness 62/100
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 38/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·