diff options
Diffstat (limited to 'client/src/ngsw-config.json')
-rw-r--r-- | client/src/ngsw-config.json | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/client/src/ngsw-config.json b/client/src/ngsw-config.json new file mode 100644 index 000000000..47a116bb7 --- /dev/null +++ b/client/src/ngsw-config.json | |||
@@ -0,0 +1,30 @@ | |||
1 | { | ||
2 | "index": "/index.html", | ||
3 | "assetGroups": [ | ||
4 | { | ||
5 | "name": "app", | ||
6 | "installMode": "prefetch", | ||
7 | "resources": { | ||
8 | "files": [ | ||
9 | "/index.html", | ||
10 | "/client/assets/images/favicon.png" | ||
11 | ], | ||
12 | "versionedFiles": [ | ||
13 | "/client/*.bundle.css", | ||
14 | "/client/*.bundle.js", | ||
15 | "/client/*.chunk.js" | ||
16 | ] | ||
17 | } | ||
18 | }, | ||
19 | { | ||
20 | "name": "assets", | ||
21 | "installMode": "lazy", | ||
22 | "updateMode": "prefetch", | ||
23 | "resources": { | ||
24 | "files": [ | ||
25 | "/client/assets/**" | ||
26 | ] | ||
27 | } | ||
28 | } | ||
29 | ] | ||
30 | } | ||