Tous les plugins
PWA
Service worker, manifeste et mise en cache hors ligne.
Aperçu
Génère un manifeste d'application web, enregistre un service worker avec mise en cache stale-while-revalidate, et ajoute la prise en charge complète de l'installation hors ligne.
Installation
docmd add pwa
Install via the docmd CLI, then enable under plugins.pwa in docmd.config.json.
Autorisations
Comportement d'exécution de ce plugin lors du build :
| Capacité | Utilisé |
|---|---|
| Lit les fichiers du projet | Oui |
| Écrit dans site/ | Oui |
| Requêtes réseau | Non |
| Exécute des sous-processus | Non |
Capacités
Hooks docmd enregistrés par ce plugin :
assets post-build