fix(26): remove empty vendor-react chunk and mark PWA-02/PWA-08 complete

vendor-react manualChunks doesn't work with @vitejs/plugin-react JSX
runtime — react/react-dom stay in entry. Documented and removed.
PWA-02 and PWA-08 were implemented but not marked in REQUIREMENTS.md.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Nexus Dev 2026-04-02 10:34:34 +00:00
parent 75b287032e
commit 8235a607b7
2 changed files with 7 additions and 5 deletions

View file

@ -59,13 +59,13 @@
### PWA & Mobile (8)
- [x] **PWA-01** — Service worker for offline capability: cached UI loads instantly, queues messages until back online
- [ ] **PWA-02** — Web App Manifest: installable on iOS, Android, macOS, and Windows as a standalone app
- [x] **PWA-02** — Web App Manifest: installable on iOS, Android, macOS, and Windows as a standalone app
- [x] **PWA-03** — Responsive layout: adapts to phone, tablet, and desktop screen sizes
- [x] **PWA-04** — Mobile-optimized input: large touch targets, sticky input bar at bottom, keyboard-aware resize
- [x] **PWA-05** — Pull-to-refresh on the mobile conversation list
- [x] **PWA-06** — Push notifications (where supported): agent mentions, task completions, handoff requests
- [x] **PWA-07** — App icon and splash screen with Nexus branding, theme-aware
- [ ] **PWA-08** — "Add to Home Screen" prompt on first mobile visit
- [x] **PWA-08** — "Add to Home Screen" prompt on first mobile visit
### Theme Integration (3)
@ -153,13 +153,13 @@ The following are explicitly deferred:
| HIST-05 | Phase 21 | Complete |
| HIST-06 | Phase 21 | Complete |
| PWA-01 | Phase 26 | Complete |
| PWA-02 | Phase 26 | Pending |
| PWA-02 | Phase 26 | Complete |
| PWA-03 | Phase 26 | Complete |
| PWA-04 | Phase 26 | Complete |
| PWA-05 | Phase 26 | Complete |
| PWA-06 | Phase 26 | Complete |
| PWA-07 | Phase 26 | Complete |
| PWA-08 | Phase 26 | Pending |
| PWA-08 | Phase 26 | Complete |
| THEME-01 | Phase 21 | Complete |
| THEME-02 | Phase 21 | Complete |
| THEME-03 | Phase 22 | Complete |

View file

@ -18,7 +18,9 @@ export default defineConfig({
rollupOptions: {
output: {
manualChunks: {
"vendor-react": ["react", "react-dom"],
// Note: react/react-dom cannot be split via manualChunks — @vitejs/plugin-react
// injects the JSX runtime before Rollup processes chunks, so they stay in the entry.
// The 37 lazy-loaded page chunks are the primary performance lever.
"vendor-router": ["react-router-dom"],
"vendor-query": ["@tanstack/react-query"],
"vendor-markdown": ["react-markdown", "remark-gfm"],