chore: update sw.js docs
This commit is contained in:
parent
bc92382bf7
commit
ec60ebf87c
1 changed files with 3 additions and 2 deletions
|
@ -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) => {
|
||||
|
|
Loading…
Reference in a new issue