Open lukasIO opened 5 years ago
I tried to understand the custom config options for pwa.config.js, but could not find a way to get the workbox options (particularly, which swSrc applied in my build.
pwa.config.js
swSrc
the config file looks like this right now:
exports.workbox = { advanced: false, // alias injectManifest: false, // alias swSrc: './service_worker.js', // template; mode: InjectManifest navigateFallbackWhitelist: [/^(?!\/__).*/], // mode: GenerateSW navigateFallback: 'index.html', // mode: GenerateSW swDest: 'sw.js', exclude: [ /\.git/, /\.map$/, /\.DS_Store/, /^manifest.*\.js(?:on)?$/, /\.gz(ip)?$/, /\.br$/ ] }
thanks for any pointers!
I tried to understand the custom config options for
pwa.config.js
, but could not find a way to get the workbox options (particularly, whichswSrc
applied in my build.the config file looks like this right now:
thanks for any pointers!