Disable pwa in dev
This commit is contained in:
@@ -2,6 +2,7 @@ const withPWA = require('next-pwa')
|
||||
|
||||
module.exports = withPWA({
|
||||
pwa: {
|
||||
disable: process.env.NODE_ENV !== 'production',
|
||||
dest: 'public',
|
||||
register: true,
|
||||
skipWaiting: true,
|
||||
|
||||
Reference in New Issue
Block a user