From 48e9794b296806554e3ed678b8795cea16fdd901 Mon Sep 17 00:00:00 2001 From: dev Date: Sat, 6 Jun 2026 02:28:41 +0200 Subject: [PATCH] =?UTF-8?q?perf(eidos):=20code-split=20final=2010=20recipe?= =?UTF-8?q?s=20=E2=80=94=20index.css=20is=20foundation-only=20(Phase=203?= =?UTF-8?q?=20batch=205=20+=20Phase=204)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit table tree-view tree-grid feed virtual-list virtual-grid announce clipboard drag-drop words. words (the 55 KB recipe) composes via mounted eidos components (Button×5, Icon×7, NumberField×3, ColorPicker×1, TextArea files), so their recipes load on mount — no extra imports needed. Verified: words content/toolbar styled, mounted button 26px/radius 6px. index.css now holds ONLY the foundation: base.css + archetypes + events + the 10 layout primitives (box/flex/grid/stack/group/wrap/container/ section/aspect-ratio/auto-grid, kept because they're used pervasively and recipes layer on them). FINAL: monolith 850,879→335,100 raw / 113,489→54,429 gz — −515 KB raw / −59 KB gz off EVERY page, landing at the base.css floor. A 5-component page now ships ~54 KB foundation + a few KB of chunks instead of 113.5 KB flat. check 0 errors. Co-Authored-By: Claude Opus 4.8 (1M context) --- src/uix/eidos/components/announce/announce.svelte | 1 + src/uix/eidos/components/clipboard/clipboard.svelte | 1 + src/uix/eidos/components/drag-drop/drag-drop.svelte | 1 + src/uix/eidos/components/feed/feed.svelte | 1 + src/uix/eidos/components/table/table.svelte | 1 + src/uix/eidos/components/tree-grid/tree-grid.svelte | 1 + src/uix/eidos/components/tree-view/tree-view.svelte | 1 + .../eidos/components/virtual-grid/virtual-grid.svelte | 1 + .../eidos/components/virtual-list/virtual-list.svelte | 1 + src/uix/eidos/components/words/words.svelte | 1 + src/uix/eidos/index.css | 10 ---------- 11 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/uix/eidos/components/announce/announce.svelte b/src/uix/eidos/components/announce/announce.svelte index 4e936917f..dd1df7d79 100644 --- a/src/uix/eidos/components/announce/announce.svelte +++ b/src/uix/eidos/components/announce/announce.svelte @@ -1,4 +1,5 @@