diff --git a/mon-entreprise/webpack.prod.js b/mon-entreprise/webpack.prod.js index b6305c7af..5eb68eb54 100644 --- a/mon-entreprise/webpack.prod.js +++ b/mon-entreprise/webpack.prod.js @@ -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: [