mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-17 11:07:07 +02:00
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:
parent
284649c7c8
commit
bfe7ca6237
11 changed files with 129 additions and 52 deletions
|
@ -71,7 +71,7 @@ export default function pluginPWA(
|
|||
},
|
||||
|
||||
getClientModules() {
|
||||
return isProd ? [swRegister] : [];
|
||||
return isProd && swRegister ? [swRegister] : [];
|
||||
},
|
||||
|
||||
getDefaultCodeTranslationMessages() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue