`devTools.enabled` in strategy `generateSW` breaks due to wrong `globDirectory`
segevfiner opened this issue · comments
Segev Finer commented
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"
]
}