chore(pwa, sitemap, client-redirects, ideal-image): JSDoc for types (#6928)

* chore(pwa, sitemap, client-redirects, ideal-image): JSDoc for types

* fix
This commit is contained in:
Joshua Chen 2022-03-17 12:05:23 +08:00 committed by GitHub
parent 284649c7c8
commit bfe7ca6237
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 129 additions and 52 deletions

View file

@ -71,7 +71,7 @@ export default function pluginPWA(
},
getClientModules() {
return isProd ? [swRegister] : [];
return isProd && swRegister ? [swRegister] : [];
},
getDefaultCodeTranslationMessages() {