Skip to content

Commit

Permalink
update service worker config
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjlockwood committed Jun 2, 2018
1 parent 5759ce7 commit 014c600
Showing 1 changed file with 16 additions and 23 deletions.
39 changes: 16 additions & 23 deletions ngsw-config.json
@@ -1,27 +1,20 @@
{
"index": "/index.html",
"assetGroups": [{
"name": "app",
"installMode": "prefetch",
"resources": {
"files": [
"/favicon.ico",
"/index.html"
],
"versionedFiles": [
"/*.bundle.css",
"/*.bundle.js",
"/*.chunk.js"
]
"assetGroups": [
{
"name": "app",
"installMode": "prefetch",
"resources": {
"files": ["/favicon.ico", "/index.html", "/*.css", "/*.js"]
}
},
{
"name": "assets",
"installMode": "lazy",
"updateMode": "prefetch",
"resources": {
"files": ["/assets/**"]
}
}
}, {
"name": "assets",
"installMode": "lazy",
"updateMode": "prefetch",
"resources": {
"files": [
"/assets/**"
]
}
}]
]
}

0 comments on commit 014c600

Please sign in to comment.