Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
c8d7eeca
Commit
c8d7eeca
authored
7 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
Update workbox.js
parent
002cd8fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build/workbox.js
+1
-1
build/workbox.js
with
1 addition
and
1 deletion
+1
-1
build/workbox.js
+
1
-
1
View file @
c8d7eeca
...
@@ -43,7 +43,7 @@ swBuild.injectManifest(config).then(({
...
@@ -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
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment