chore: update sw.js docs

This commit is contained in:
Ayo Ayco 2024-08-03 09:15:53 +02:00
parent bc92382bf7
commit ec60ebf87c

View file

@ -1,6 +1,7 @@
/**
* Note: astro-sw integration injects variables `__prefix`, `__version`, & `__assets`
* Note: @ayco/astro-sw integration injects variables `__prefix`, `__version`, & `__assets`
* -- find usage in `astro.config.mjs` integrations
* @see https://ayco.io/n/@ayco/astro-sw
*/
const cacheName = `${__prefix ?? 'app'}-v${__version ?? '000'}`
const addResourcesToCache = async (resources) => {