chore: format code
This commit is contained in:
parent
536372d895
commit
e5d0a5e65c
1 changed files with 9 additions and 14 deletions
|
@ -122,7 +122,6 @@ declare const __prefix: string;`
|
|||
injectTypes({ filename: 'caching.d.ts', content: injectedTypes })
|
||||
},
|
||||
'astro:build:ssr': ({ manifest }) => {
|
||||
|
||||
if (output !== 'static') {
|
||||
assets = manifest.assets
|
||||
}
|
||||
|
@ -206,10 +205,6 @@ declare const __prefix: string;`
|
|||
const versionDeclaration = `const __version = ${JSON.stringify(assetCacheVersionID)};\n`;
|
||||
const prefixDeclaration = `const __prefix = ${JSON.stringify(assetCachePrefix)};\n`;
|
||||
|
||||
/**
|
||||
* TODO: allow importing in dev's sw.js by resolving imports
|
||||
*/
|
||||
|
||||
const tempFile = `${swPath}.tmp.ts`;
|
||||
|
||||
try {
|
||||
|
|
Loading…
Reference in a new issue