Skip to content

Commit

Permalink
chore: format
Browse files Browse the repository at this point in the history
  • Loading branch information
KaiVandivier committed Nov 8, 2024
1 parent a90a4e0 commit 93d6815
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cli/src/lib/pwa/injectPrecacheManifest.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,10 @@ module.exports = function injectPrecacheManifest(paths, config) {
// slow down service worker installation
'**/moment-locales/*',
'**/*.map',
...config.pwa?.caching?.globsToOmitFromPrecache ?? [],
...(config.pwa?.caching?.globsToOmitFromPrecache ?? []),
],
additionalManifestEntries: config.pwa?.caching?.additionalManifestEntries,
additionalManifestEntries:
config.pwa?.caching?.additionalManifestEntries,
injectionPoint: 'self.__WB_MANIFEST',
// Skip revision hashing for files with hash or semver in name:
// (see https://regex101.com/r/z4Hy9k/3/ for RegEx details)
Expand Down

0 comments on commit 93d6815

Please sign in to comment.