Skip to content

Commit

Permalink
release
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Phang committed Sep 3, 2019
1 parent bb736eb commit c0b1866
Show file tree
Hide file tree
Showing 6 changed files with 62 additions and 6 deletions.
9 changes: 6 additions & 3 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
"assets": [
"src/favicon.ico",
"src/assets",
"src/manifest.json"
"src/manifest.json",
"src/manifest.webmanifest"
],
"styles": [
"./node_modules/@angular/material/prebuilt-themes/indigo-pink.css",
Expand All @@ -46,7 +47,8 @@
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true,
"serviceWorker": true
"serviceWorker": true,
"ngswConfigPath": "src/ngsw-config.json"
}
}
},
Expand Down Expand Up @@ -82,7 +84,8 @@
"assets": [
"src/favicon.ico",
"src/assets",
"src/manifest.json"
"src/manifest.json",
"src/manifest.webmanifest"
]
}
},
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
"@angular/material": "~8.1.4",
"@angular/platform-browser": "^8.2.4",
"@angular/platform-browser-dynamic": "^8.2.4",
"@angular/pwa": "^0.13.2",
"@angular/router": "^8.2.4",
"@angular/service-worker": "^8.2.4",
"core-js": "^2.5.4",
Expand Down
Binary file modified release/release-v1.4.zip
Binary file not shown.
4 changes: 3 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="manifest" href="manifest.json">
<meta name="theme-color" content="#1976d2">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500&amp;display=swap" rel="stylesheet">
<link rel="manifest" href="manifest.webmanifest">
<meta name="theme-color" content="#1976d2">
</head>
<body>
<app-root></app-root>
Expand Down
51 changes: 51 additions & 0 deletions src/manifest.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"name": "ng-chatapp",
"short_name": "ng-chatapp",
"theme_color": "#1976d2",
"background_color": "#fafafa",
"display": "standalone",
"scope": "/",
"start_url": "/",
"icons": [
{
"src": "assets/icons/icon-72x72.png",
"sizes": "72x72",
"type": "image/png"
},
{
"src": "assets/icons/icon-96x96.png",
"sizes": "96x96",
"type": "image/png"
},
{
"src": "assets/icons/icon-128x128.png",
"sizes": "128x128",
"type": "image/png"
},
{
"src": "assets/icons/icon-144x144.png",
"sizes": "144x144",
"type": "image/png"
},
{
"src": "assets/icons/icon-152x152.png",
"sizes": "152x152",
"type": "image/png"
},
{
"src": "assets/icons/icon-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "assets/icons/icon-384x384.png",
"sizes": "384x384",
"type": "image/png"
},
{
"src": "assets/icons/icon-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
]
}
3 changes: 2 additions & 1 deletion ngsw-config.json → src/ngsw-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
"updateMode": "prefetch",
"resources": {
"files": [
"/assets/**"
"/assets/**",
"/*.(eot|svg|cur|jpg|png|webp|gif|otf|ttf|woff|woff2|ani)"
]
}
}
Expand Down

0 comments on commit c0b1866

Please sign in to comment.