Skip to content

Commit

Permalink
fix: format ngsw
Browse files Browse the repository at this point in the history
  • Loading branch information
sanchezcarlosjr authored Oct 3, 2023
1 parent 183d29f commit 0c2c18f
Showing 1 changed file with 46 additions and 44 deletions.
90 changes: 46 additions & 44 deletions ngsw-config.json
Original file line number Diff line number Diff line change
@@ -1,46 +1,48 @@
{
"$schema": "./node_modules/@angular/service-worker/config/schema.json",
"index": "/index.html",
"assetGroups": [
{
"name": "app",
"installMode": "prefetch",
"resources": {
"files": [
"/favicon.ico",
"/index.html",
"/manifest.webmanifest",
"/*.css",
"/*.js",
"/*.json",
"/*.xml",
"/*.csv",
"/*.tsv",
]
}
},
{
"name": "assets",
"installMode": "lazy",
"updateMode": "prefetch",
"resources": {
"files": [
"/assets/**",
"/*.(svg|cur|jpg|jpeg|png|apng|webp|wasm|avif|gif|otf|ttf|tflite|task|woff|woff2|pdf|sav|tiff|txt|zip|whl)"
]
}
}
],
"dataGroups": [
{
"name": "pypi-api",
"urls": ["https://pypi.org/pypi/*"],
"cacheConfig": {
"strategy": "performance",
"maxSize": 100,
"maxAge": "2d",
"timeout": "10s"
}
}
]
"$schema": "./node_modules/@angular/service-worker/config/schema.json",
"index": "/index.html",
"assetGroups": [
{
"name": "app",
"installMode": "prefetch",
"resources": {
"files": [
"/favicon.ico",
"/index.html",
"/manifest.webmanifest",
"/*.css",
"/*.js",
"/*.json",
"/*.xml",
"/*.csv",
"/*.tsv"
]
}
},
{
"name": "assets",
"installMode": "lazy",
"updateMode": "prefetch",
"resources": {
"files": [
"/assets/**",
"/*.(svg|cur|jpg|jpeg|png|apng|webp|wasm|avif|gif|otf|ttf|tflite|task|woff|woff2|pdf|sav|tiff|txt|zip|whl)"
]
}
}
],
"dataGroups": [
{
"name": "pypi-api",
"urls": [
"https://pypi.org/pypi/*"
],
"cacheConfig": {
"strategy": "performance",
"maxSize": 100,
"maxAge": "2d",
"timeout": "10s"
}
}
]
}

0 comments on commit 0c2c18f

Please sign in to comment.