SSG production build has minify: false, increasing bundle size #32

Closed
opened 2026-06-09 20:37:42 +00:00 by glow · 1 comment
Owner

Location

adapters/static/vite.config.ts, line 12: minify: false

Impact

Larger JS/CSS bundles for every production page view -> worse FCP/LCP/TBT -> higher bandwidth costs.

Suggested fix

Change to minify: 'esbuild' for smaller production output.

## Location `adapters/static/vite.config.ts`, line 12: `minify: false` ## Impact Larger JS/CSS bundles for every production page view -> worse FCP/LCP/TBT -> higher bandwidth costs. ## Suggested fix Change to `minify: 'esbuild'` for smaller production output.
glow self-assigned this 2026-06-09 20:37:42 +00:00
glow closed this issue 2026-06-09 21:27:54 +00:00
Author
Owner

Changed → in .

Commit: 45d6a1e

This enables esbuild-based minification for the SSG production build, reducing JS/CSS bundle sizes for better FCP/LCP/TBT.

Closes #32

Changed → in . Commit: 45d6a1e This enables esbuild-based minification for the SSG production build, reducing JS/CSS bundle sizes for better FCP/LCP/TBT. Closes #32
Sign in to join this conversation.
No labels
bug
feature
improvement
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
glow/first-home-diy#32
No description provided.