diff --git a/next.config.js b/next.config.js index c08c9bc..4d9137f 100644 --- a/next.config.js +++ b/next.config.js @@ -1,5 +1,9 @@ -const withOffline = require('next-offline') +const withPWA = require('next-pwa') -const nextConfig = {} - -module.exports = withOffline(nextConfig) +module.exports = withPWA({ + pwa: { + dest: 'public', + register: true, + skipWaiting: true, + } +})