Skip to content

Commit f6eec7d

Browse files
perf(clock): convert background image from PNG to WebP (#683)
Replace bg.png with bg.webp to optimize bundle size. This reduces the compiled bundle from ~10MB to 2.2MB (78% decrease). Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent 7fcb184 commit f6eec7d

3 files changed

Lines changed: 1 addition & 1 deletion

File tree

edge-apps/clock/src/css/style.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ body {
2121
overflow: hidden;
2222
color: white;
2323
font-family: 'Inter', system-ui, sans-serif;
24-
background: url('/static/images/bg.png') no-repeat center center;
24+
background: url('/static/images/bg.webp') no-repeat center center;
2525
background-size: cover;
2626
text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
2727
}
-9.19 MB
Binary file not shown.
740 KB
Loading

0 commit comments

Comments
 (0)