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 = withPWA({
|
||||||
|
pwa: {
|
||||||
module.exports = withOffline(nextConfig)
|
dest: 'public',
|
||||||
|
register: true,
|
||||||
|
skipWaiting: true,
|
||||||
|
}
|
||||||
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user