Affiche les infos de debug du serviceWorker lorsque la branche n'est pas master

pull/1275/head
Johan Girod 2020-12-08 10:22:01 +01:00
parent 659451dba4
commit 04d87a0d7b
1 changed files with 1 additions and 0 deletions

View File

@ -77,6 +77,7 @@ module.exports = {
clientsClaim: true,
skipWaiting: true,
cacheId: process.env.HEAD,
mode: process.env.HEAD === 'master' ? 'production' : 'developpement',
swDest: 'sw.js',
navigateFallback: '/fallback',
navigateFallbackDenylist: [