Refactor frontend components and dependencies
- Update ESLint configuration for frontend - Refactor dialog components (ActivateJail, CreateAction, CreateFilter, CreateJail) - Update JailsTab and RegexTesterTab components - Refactor TopCountriesPieChart component - Update package.json dependencies - Update documentation (Tasks.md) - Refactor CodeList component for jail page Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -611,7 +611,11 @@ Do **not** add a Content-Security-Policy meta tag; CSP should be set as an HTTP
|
||||
|
||||
---
|
||||
|
||||
### TASK-030 — Add manual chunk splitting to `vite.config.ts`
|
||||
### TASK-030 — Add manual chunk splitting to `vite.config.ts` (done)
|
||||
|
||||
**Where fixed:** `frontend/vite.config.ts`
|
||||
|
||||
**Summary:** Implemented `build.rollupOptions.output.manualChunks` function that groups modules into four vendor chunks: `react-vendor`, `ui-vendor`, `chart-vendor`, and `geo-vendor`. This ensures stable, cacheable chunks across deployments.
|
||||
|
||||
**Where found:** `frontend/vite.config.ts` — `build` section is absent entirely; Rollup uses its default single-chunk strategy.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user