chore: add todo
This commit is contained in:
parent
2bc4ef1423
commit
8e4083cb01
1 changed files with 4 additions and 0 deletions
4
index.js
4
index.js
|
@ -134,6 +134,10 @@ export default function serviceWorker(config) {
|
|||
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
|
||||
*/
|
||||
|
||||
await writeFile(
|
||||
outFile,
|
||||
assetsDeclaration + versionDeclaration + prefixDeclaration + originalScript
|
||||
|
|
Loading…
Reference in a new issue