1
0
Fork 0
mirror of https://github.com/twbs/bootstrap.git synced 2022-11-09 12:25:43 -05:00

Update workbox.js

This commit is contained in:
XhmikosR 2018-03-20 17:24:49 +02:00
parent 002cd8fc9a
commit c8d7eecab3

View file

@ -43,7 +43,7 @@ swBuild.injectManifest(config).then(({
} }
const swFileContents = data.replace(wbSwRegex, wbFileName) const swFileContents = data.replace(wbSwRegex, wbFileName)
fs.writeFile(config.swDest, swFileContents, () => { fs.writeFile(config.swDest, swFileContents, () => {
console.log('Pre-cache Manifest generated.', `Pre-cached ${count} files, totalling ${size} bytes.`) console.log(`Pre-cache Manifest generated. Pre-cached ${count} files, totalling ${size} bytes.`)
}) })
}) })
}).catch((error) => { }).catch((error) => {