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