disable service worker in dev
This commit is contained in:
parent
7490e5c249
commit
b468b71e09
|
@ -137,7 +137,7 @@ module.exports = withPlausibleProxy()({
|
|||
]
|
||||
},
|
||||
webpack: (config, { isServer }) => {
|
||||
if (isServer) {
|
||||
if (isServer && isProd) {
|
||||
generatePrecacheManifest()
|
||||
config.plugins.push(
|
||||
new InjectManifest({
|
||||
|
|
Loading…
Reference in New Issue