Skip to content

Commit b81dd21

Browse files
Merge pull request #5 from rakesh-kumar-t/dev-rk
Dev rk
2 parents a1d5c0f + e68a914 commit b81dd21

File tree

19 files changed

+3465
-1333
lines changed

19 files changed

+3465
-1333
lines changed

AngularUI/angular.json

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,19 @@
2424
"tsConfig": "tsconfig.app.json",
2525
"assets": [
2626
"src/favicon.ico",
27-
"src/assets"
27+
"src/assets",
28+
"src/manifest.webmanifest",
29+
"src/manifest.webmanifest",
30+
"src/manifest.webmanifest"
2831
],
2932
"styles": [
3033
"src/custom-theme.scss",
3134
"src/styles.css",
3235
"node_modules/ngx-toastr/toastr.css"
3336
],
34-
"scripts": []
37+
"scripts": [],
38+
"serviceWorker": true,
39+
"ngswConfigPath": "ngsw-config.json"
3540
},
3641
"configurations": {
3742
"production": {
@@ -93,7 +98,10 @@
9398
"karmaConfig": "karma.conf.js",
9499
"assets": [
95100
"src/favicon.ico",
96-
"src/assets"
101+
"src/assets",
102+
"src/manifest.webmanifest",
103+
"src/manifest.webmanifest",
104+
"src/manifest.webmanifest"
97105
],
98106
"styles": [
99107
"src/styles.css"

AngularUI/ngsw-config.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"$schema": "./node_modules/@angular/service-worker/config/schema.json",
3+
"index": "/index.html",
4+
"assetGroups": [
5+
{
6+
"name": "Company",
7+
"installMode": "prefetch",
8+
"resources": {
9+
"files": [
10+
"/favicon.ico",
11+
"/index.html",
12+
"/manifest.webmanifest",
13+
"/*.css",
14+
"/*.js"
15+
]
16+
}
17+
},
18+
{
19+
"name": "assets",
20+
"installMode": "lazy",
21+
"updateMode": "prefetch",
22+
"resources": {
23+
"files": [
24+
"/assets/**",
25+
"/*.(svg|cur|jpg|jpeg|png|apng|webp|avif|gif|otf|ttf|woff|woff2)"
26+
]
27+
}
28+
}
29+
]
30+
}

0 commit comments

Comments
 (0)