Extend sw-precache file globs
This commit is contained in:
parent
9c4b72f6cb
commit
bbcc6433a2
1 changed files with 6 additions and 5 deletions
|
|
@ -3,11 +3,12 @@ module.exports = {
|
|||
stripPrefix: 'build/',
|
||||
staticFileGlobs: [
|
||||
'build/**/*.html',
|
||||
'build/*.svg',
|
||||
'build/*.jpg',
|
||||
'build/*.png',
|
||||
'build/*.ico',
|
||||
'build/*.json',
|
||||
'build/**/*.svg',
|
||||
'build/**/*.jpg',
|
||||
'build/**/*.png',
|
||||
'build/**/*.gif',
|
||||
'build/**/*.ico',
|
||||
'build/**/*.json',
|
||||
'build/static/**/!(*map*)',
|
||||
'build/manifest.json'
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue