ngsw-config.json 631 B

123456789101112131415161718192021222324252627282930
  1. {
  2. "$schema": "./node_modules/@angular/service-worker/config/schema.json",
  3. "index": "/index.html",
  4. "assetGroups": [
  5. {
  6. "name": "app",
  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. }