Update next.config
This commit is contained in:
+8
-4
@@ -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,
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user