SSG production build has minify: false, increasing bundle size #32
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Location
adapters/static/vite.config.ts, line 12:minify: falseImpact
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.Changed → in .
Commit:
45d6a1eThis enables esbuild-based minification for the SSG production build, reducing JS/CSS bundle sizes for better FCP/LCP/TBT.
Closes #32