Skip to content

Improve Vite chunk splitting and update documentation metadata#56

Merged
koala73 merged 1 commit into
codex/add-tauri-v2-integration-and-configurationfrom
codex/review-project-documentation-for-optimization
Feb 13, 2026
Merged

Improve Vite chunk splitting and update documentation metadata#56
koala73 merged 1 commit into
codex/add-tauri-v2-integration-and-configurationfrom
codex/review-project-documentation-for-optimization

Conversation

@koala73

@koala73 koala73 commented Feb 13, 2026

Copy link
Copy Markdown
Owner

Motivation

  • Reduce main bundle pressure by splitting large third-party libraries into logical chunks to improve load/ caching behavior during production builds.
  • Keep documentation accurate and ensure assets referenced from docs/ resolve correctly.

Description

  • Replaced static manualChunks object in vite.config.ts with a function-based splitter that creates ml for ML deps (@xenova/transformers, onnxruntime-web), map for map/visualization deps (@deck.gl, maplibre-gl, h3-js), and preserves dedicated d3 and topojson chunks.
  • Updated docs/DOCUMENTATION.md to bump the version badge to 2.1.4 and fixed the dashboard image path to ../new-world-monitor.png so it loads when viewing files from the docs/ folder.
  • Changes applied to vite.config.ts and docs/DOCUMENTATION.md and committed to the current branch.

Testing

  • Ran npm run typecheck and it completed successfully.
  • Ran npm run build and the production build succeeded; rollup emitted warnings about eval in a dependency and some chunks >500 kB but build artifacts were produced.
  • Ran npm run test:e2e:full which failed in this environment because Playwright browser binaries are not installed (error: Executable doesn't exist ... chromium_headless_shell).

Codex Task

@vercel

vercel Bot commented Feb 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
worldmonitor Ready Ready Preview, Comment Feb 13, 2026 11:21am
worldmonitor-startup Ready Ready Preview, Comment Feb 13, 2026 11:21am
worldmonitor-test Ready Ready Preview, Comment Feb 13, 2026 11:21am

Request Review

@koala73
koala73 merged commit edf808e into codex/add-tauri-v2-integration-and-configuration Feb 13, 2026
4 checks passed
@koala73
koala73 deleted the codex/review-project-documentation-for-optimization branch February 15, 2026 08:04
@SebastienMelki SebastienMelki added the area: desktop Tauri desktop app label Feb 17, 2026
facusturla pushed a commit to facusturla/worldmonitor that referenced this pull request Feb 27, 2026
…73#56)

### Motivation
- Reduce main bundle pressure by splitting large third-party libraries
into logical chunks to improve load/ caching behavior during production
builds.
- Keep documentation accurate and ensure assets referenced from `docs/`
resolve correctly.

### Description
- Replaced static `manualChunks` object in `vite.config.ts` with a
function-based splitter that creates `ml` for ML deps
(`@xenova/transformers`, `onnxruntime-web`), `map` for map/visualization
deps (`@deck.gl`, `maplibre-gl`, `h3-js`), and preserves dedicated `d3`
and `topojson` chunks.
- Updated `docs/DOCUMENTATION.md` to bump the version badge to `2.1.4`
and fixed the dashboard image path to `../new-world-monitor.png` so it
loads when viewing files from the `docs/` folder.
- Changes applied to `vite.config.ts` and `docs/DOCUMENTATION.md` and
committed to the current branch.

### Testing
- Ran `npm run typecheck` and it completed successfully.
- Ran `npm run build` and the production build succeeded; rollup emitted
warnings about `eval` in a dependency and some chunks >500 kB but build
artifacts were produced.
- Ran `npm run test:e2e:full` which failed in this environment because
Playwright browser binaries are not installed (error: `Executable
doesn't exist ... chromium_headless_shell`).

------
[Codex
Task](https://chatgpt.com/codex/tasks/task_e_698f0083f99083338bf9ea2ebbefd191)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: desktop Tauri desktop app codex

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants