Link old service worker to new name (#21581)

This commit is contained in:
Steve Repsher
2024-08-05 09:52:46 -04:00
committed by GitHub
parent 62d8434596
commit dfbf4abd5d
3 changed files with 10 additions and 11 deletions

View File

@@ -29,7 +29,7 @@ const compressDistZopfli = (rootDir, modernDir) =>
[
`${rootDir}/**/${filesGlob}`,
`!${modernDir}/**/${filesGlob}`,
`!${rootDir}/sw-modern.js`,
`!${rootDir}/{sw-modern,service_worker}.js`,
`${rootDir}/{authorize,onboarding}.html`,
],
{ base: rootDir }