Add entry.assets array to precache list for fonts and images.
Increases precached assets from 69 to 86.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
The Vite manifest has CSS files in two places:
- entry.file (main CSS files)
- entry.css (CSS imported by JS modules)
The previous code only read entry.file, missing CSS from entry.css.
This increases precached assets from 57 to 69.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Move build script from scripts/build-service-worker.js to
app/javascript/service-worker/build.js to keep all service worker
related code in one place.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>