Skip to content

Commit

Permalink
Instalado Angular PWA usando la versión v6-lts (angular/angular-cli#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
jagomf committed Dec 10, 2018
1 parent 9f131fc commit 164aff7
Show file tree
Hide file tree
Showing 15 changed files with 248 additions and 266 deletions.
9 changes: 6 additions & 3 deletions speed/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"tsConfig": "src/tsconfig.app.json",
"assets": [
"src/favicon.ico",
"src/assets"
"src/assets",
"src/manifest.json"
],
"styles": [
"src/styles.css"
Expand Down Expand Up @@ -50,7 +51,8 @@
"maximumWarning": "2mb",
"maximumError": "5mb"
}
]
],
"serviceWorker": true
}
}
},
Expand Down Expand Up @@ -84,7 +86,8 @@
"scripts": [],
"assets": [
"src/favicon.ico",
"src/assets"
"src/assets",
"src/manifest.json"
]
}
},
Expand Down
26 changes: 26 additions & 0 deletions speed/ngsw-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"index": "/index.html",
"assetGroups": [
{
"name": "app",
"installMode": "prefetch",
"resources": {
"files": [
"/favicon.ico",
"/index.html",
"/*.css",
"/*.js"
]
}
}, {
"name": "assets",
"installMode": "lazy",
"updateMode": "prefetch",
"resources": {
"files": [
"/assets/**"
]
}
}
]
}
Loading

0 comments on commit 164aff7

Please sign in to comment.