You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If one of the imported files sets the self.__precacheManifest variable to an array of ManifestEntrys, those entries will be automatically precached in the generated service worker.
when set config like:
write precache-manifest.common.js by https://developers.google.com/web/tools/workbox/modules/workbox-webpack-plugin#full_generatesw_config
importScripts
I understand that there is no problem, so bug will appear. self.__precacheManifest will be overrideed.
workbox/packages/workbox-webpack-plugin/src/generate-sw.js
Line 83 in b146d8d
workbox/packages/workbox-webpack-plugin/src/inject-manifest.js
Line 114 in b146d8d
I this two method to resolev this problem, but no one perfect.
I hope you have other better ways to solve this problem.
The text was updated successfully, but these errors were encountered: