frontend/ngsw-config.json
garrettmills f98369436e
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
Don't modify index.html during build - invalidates ngsw cache
2020-10-28 09:52:18 -05:00

31 lines
628 B
JSON

{
"$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"
]
}
},
{
"name": "assets",
"installMode": "prefetch",
"updateMode": "prefetch",
"resources": {
"files": [
"/assets/**",
"/*.(eot|svg|cur|jpg|png|webp|gif|otf|ttf|woff|woff2|ani)"
]
}
}
]
}