disable service worker in dev

This commit is contained in:
keyan 2023-07-27 12:45:18 -05:00
parent 7490e5c249
commit b468b71e09
1 changed files with 1 additions and 1 deletions

View File

@ -137,7 +137,7 @@ module.exports = withPlausibleProxy()({
]
},
webpack: (config, { isServer }) => {
if (isServer) {
if (isServer && isProd) {
generatePrecacheManifest()
config.plugins.push(
new InjectManifest({