2021-06-29 19:31:32 +00:00
|
|
|
/* 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',
|
|
|
|
},
|
|
|
|
})
|
|
|
|
)
|