// Minimal service worker — network-only, no caching.
// This exists solely to make the app installable as a PWA.
// Do NOT add caching here: the app loads JS modules dynamically
// and stale cache causes blank-screen / module-not-found failures.

self.addEventListener('install', () => self.skipWaiting())
self.addEventListener('activate', event => event.waitUntil(self.clients.claim()))

// Pass every fetch straight through to the network.
self.addEventListener('fetch', event => {
  event.respondWith(fetch(event.request))
})
