Open rezonant opened 7 years ago
You can probably include sourceMaps by adding a transformOptions
function, that defines what data ends up in your ServiceWorker code. But only if you promise you won't cache sourcemap files in a production build ;-)
Tbh, I'm not sure if it's good practice to cache the manifest - but it shouldn't be impossible. If the problem still exists, could you provide a minimal repo to reproduce the problem?
Looks like the asset list provided by this plugin doesn't include generated source maps. I also noticed the manifest generated by https://github.com/arthurbergmz/webpack-pwa-manifest does not get included.