[CHORE] Rebuild on bun, TypeScript, Ark UI and an in-house router #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ep/Aug3-2026/ArkUiMigration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Also update for 2026
@mui/material, @mui/icons-material and all of emotion are uninstalled, and popper, react-transition-group, @babel/runtime, regenerator-runtime and emotion's cosmiconfig chain fall out with them. 22 overrides entries go too. JS drops 498.69kB to 347.71kB raw, 160.24kB to 110.04kB gzipped: a third of the bundle, with nothing on the page changing. CSS grows, because the utilities are the styles now. The emotion critical-CSS extraction lived in entry-server, not the prerender plugin, and it is gone along with the NODE_ENV line that existed only to keep emotion's generated class names stable. Every prerender assertion survives. The whole shipped-HTML diff is one line per page: the empty style element emotion used to leave behind. Preflight stays OFF, and the reason recorded in the config was wrong. It was never fighting MUI's normalisation — this site has no reset at all. MUI styled only what it rendered and everything else has always been the browser's own stylesheet, which is what every component was ported against. Enabling preflight moves 845 landmarks: * { margin: 0 } alone shifts the page 8px because body's margin dies, html's font-family and line-height replace the inherited defaults, a { color: inherit } drops the UA blue on 91 card-art anchors, and form controls jump from 13.33px to 16px. Compensating it back rule by rule still left 252 changed, and a preflight reverted rule by rule is just the UA stylesheet reimplemented in the author origin. Also bounds the navbar's landscape min-height to max-sm. Tailwind emits breakpoint variants before orientation ones, so the unbounded form wins at every width; it does not bind today only because the logo link already measures 64px. The same shape had already cost the toolbar spacer 16px at two viewports. Gate: 0 changed, 0 missing, 0 added over seven runs, all 212 home landmarks at four viewports and 37 resume landmarks at three, against pristine MUI. Console empty. Every interactive surface driven and observed: menu, pager, load more, all 12 deep links at top 96, carousel, dialogs, lightbox, the Oasis request prefill, and the mailto with no network call. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>