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