All notable changes to Worker (Service Worker) are documented here. Format: Keep a Changelog.
- ESBuild config indentation reformatted (94 lines)
- IIFE wrap with early return pattern (-752 lines Target/)
- ESBuild structure simplified (+703 lines output)
- README expanded (+196 lines architecture diagrams)
- Version tracking mechanism to prevent infinite refresh loops in
Source/Worker/Register.ts(104 lines refactored) Configuration/ESBuild/Target.js,Configuration/ESBuild/Worker.js(55 lines each)- README comprehensive rewrite (182 lines)
- Minification toggle: source maps removed (March 11), restored (March 13)
- @types/serviceworker: 0.0.154 → 0.0.162
- Bulk file permission reset (32 files)
- @types/serviceworker: 0.0.148 → 0.0.154
- Build infrastructure stable
Source/Worker.ts- main Service Worker registration entry pointSource/Worker/Register.ts- client-side registration with IIFE patternSource/Worker/CSS/Load.ts- dynamic CSS-to-JS transpilation interceptorSource/Worker/Policy.ts- Content Security Policy enforcementSource/Configuration/ESBuild/Worker.ts- 2-stage ESBuild configSource/Configuration/ESBuild/Target.ts- target bundling config- Caching strategy: CACHE_CORE (network-first nav) + CACHE_ASSET (cache-first static)
- Encrypted auth token management with auto-refresh
- Dynamic CSS loading: intercepts CSS imports, returns JS modules triggering
<link>tags
- @playform/build 0.3.1, @types/serviceworker, ulid 3.0.2