I'm trying to have more control over the routes and precached files. I'm using GenerateSW strategy to generate my service worker, and according to the workbox documentation, I could pass the globIgnores parameter to the generateSW class so that I could match files to always exclude when generating the precache. But I'm running into this error:

Actually as I was debugging here, I found out that this seems to be an issue with the workbox-webpack-plugin itself.
It's likely things have been changed on workbox and documentation is not up to date
Makes sense, I was trying to debug everything, but it was worthless. Another question @shadowwalker , how can I have control over the precache configuration? My application is pre-caching the homepage route and it's causing weird behaviors.
For example, I have an application that it's nested inside a subLocation. Eg.: /site-builder is an application that it's running nested in /. But as you can see, it's pre-caching the route /site-builder, which leads to having an outdated version of this application sometimes.
I wonder if I could configure which routes to precache or not, but I still could not figure it out.

Closed with PR
Most helpful comment
Makes sense, I was trying to debug everything, but it was worthless. Another question @shadowwalker , how can I have control over the
precacheconfiguration? My application is pre-caching the homepage route and it's causing weird behaviors.For example, I have an application that it's nested inside a subLocation. Eg.:
/site-builderis an application that it's running nested in/. But as you can see, it's pre-caching the route/site-builder, which leads to having an outdated version of this application sometimes.I wonder if I could configure which routes to precache or not, but I still could not figure it out.