Skip to content

Commit 1e73759

Browse files
m4dm4rtig4nClément VALENTINclaude
authored
perf(web): optimize frontend build with SWC and code splitting (#55)
* perf(web): optimize frontend build with SWC and code splitting Replace Babel with SWC plugin (20x faster), add intelligent code splitting for vendor chunks, lazy-load heavy pages (swagger-ui, jspdf). Build time reduced from ~15s to ~10s, bundle size from 2.5MB to 761KB for initial load. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> * fix(web): regenerate package-lock.json for CI compatibility Fixes missing tree-sitter dependencies that caused npm ci to fail. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> * fix(web): include optional peer deps in package-lock.json Regenerated package-lock.json with --include=optional to ensure tree-sitter packages (peer deps of swagger-ui-react) are included, fixing npm ci failures in Docker builds. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]> --------- Co-authored-by: Clément VALENTIN <[email protected]> Co-authored-by: Claude <[email protected]>
1 parent 200201b commit 1e73759

File tree

4 files changed

+318
-435
lines changed

4 files changed

+318
-435
lines changed

0 commit comments

Comments
 (0)