mirror of
https://github.com/windmill-labs/windmill.git
synced 2026-09-21 00:02:30 +00:00
Two bundle-size wins for the frontend, focused on first-paint for logged-in users (the production build is 83 MB across 624 JS files today): - Configure Vite manualChunks so Monaco, ag-grid/charts, AI SDKs, markdown, @xyflow+d3-dag, yjs, pdfjs, chart.js, quicktype and quill each land in a single cacheable vendor chunk instead of being fragmented across route chunks. No byte reduction, but users stop redownloading Monaco on every navigation and the number of JS files drops from 624 to 583. - Convert the OpenAI and Anthropic SDK imports in copilot/lib.ts (and the chat/* helpers) to dynamic imports. The SDKs were previously imported eagerly through copilot/lib -> aiStore -> sidebar/WorkspaceMenu, so every logged-in page paid ~41 KB gzipped for code only used by Copilot. The SDKs now live in a separate chunk loaded on first construction of a client. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Windmill frontend
The Windmill frontend written in Svelte 5 + Tailwind CSS
The frontend is under AGPL, see the LICENSE file at the root of this repo