restore next pwa

This commit is contained in:
Steve Ruiz 2021-06-29 20:31:32 +01:00
parent 2048b2bb70
commit 6351e31b01

View file

@ -0,0 +1,13 @@
/* eslint-disable @typescript-eslint/no-var-requires */
const withPWA = require('next-pwa')
const isProduction = process.env.NODE_ENV === 'production'
module.exports = withPWA(
withNx({
pwa: {
disable: !isProduction,
dest: 'public',
},
})
)