restore next pwa
This commit is contained in:
parent
2048b2bb70
commit
6351e31b01
1 changed files with 13 additions and 0 deletions
|
@ -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',
|
||||||
|
},
|
||||||
|
})
|
||||||
|
)
|
Loading…
Reference in a new issue