Turn on devtools.enabled in the default generateSW strategy, once you load the app you will get the following error in Vite output:
warnings
One of the glob patterns doesn't match any files. Please remove or fix the following: {
"globDirectory": ".../prj/dev-dist",
"globPattern": "**/*.{js,css,html,woff,woff2,ttf,eot,mp3}",
"globIgnores": [
"**/node_modules/**/*",
"sw.js",
"workbox-*.js"
]
}
Turn on
devtools.enabled
in the defaultgenerateSW
strategy, once you load the app you will get the following error in Vite output: