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
to: new Workbox.GenerateSW({ clientsClaim: true, skipWaiting: true, importWorkboxFrom: 'local' }), // new Workbox.InjectManifest({ // // importWorkboxFrom: 'local', // importsDirectory: path.join(__dirname, '../dist'), // swSrc: path.resolve(__dirname, '../dist/workbox-v3.6.3/workbox-sw.js'), // swDest: path.resolve(__dirname, '../dist/service-worker.js') // })
Note: If you use Workbox.GenerateSW, it creates a problem that the network cannot access. So the best way is to localize ' workbox-sw '. But it can only pass through Workbox.InjectManifest realize.
The text was updated successfully, but these errors were encountered: