perf(assets): non-blocking stylesheets, minified CSS/JS (1.10.0) #5

Merged
nthxuyen merged 2 commits from perf/non-blocking-assets into main 2026-10-31 09:25:02 +01:00
Owner

mod_google_reviews.css and swiper-bundle.min.css load with media=print plus an onload switch and a noscript fallback (the module sits below the fold on every site). The package script minifies the module's own CSS/JS in a staging copy with pinned esbuild 0.28.2; sources stay readable. CSS 39 -> 25 KB, JS 65 -> 23 KB. Also records the stale 1.8.0 package manifest. Version 1.10.0.

https://claude.ai/code/session_01HRvkv5pd9HNM1LLPN1gETc

mod_google_reviews.css and swiper-bundle.min.css load with media=print plus an onload switch and a noscript fallback (the module sits below the fold on every site). The package script minifies the module's own CSS/JS in a staging copy with pinned esbuild 0.28.2; sources stay readable. CSS 39 -> 25 KB, JS 65 -> 23 KB. Also records the stale 1.8.0 package manifest. Version 1.10.0. https://claude.ai/code/session_01HRvkv5pd9HNM1LLPN1gETc
Register mod_google_reviews.css and swiper-bundle.min.css with media=print and an
onload switch to all, plus a noscript fallback added once per page. The package
build minifies the module's own CSS and JS in a staging copy with a pinned
esbuild; sources stay readable. Bump module and package to 1.10.0.

Claude-Session: https://claude.ai/code/session_01HRvkv5pd9HNM1LLPN1gETc
Claude-Session: https://claude.ai/code/session_01HRvkv5pd9HNM1LLPN1gETc
nthxuyen deleted branch perf/non-blocking-assets 2026-10-31 09:25:02 +01:00
Sign in to join this conversation.
No reviewers
No labels
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
nthxuyen/review-module!5
No description provided.