Update next.config

This commit is contained in:
Cedric FAMIBELLE-PRONZOLA
2022-01-09 21:18:11 +04:00
parent 54b7b24874
commit df3fb16b6f
+8 -4
View File
@@ -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,
}
})