remove workbox references to service worker
This commit is contained in:
parent
decd959328
commit
983e1cb9cd
@ -1,5 +1,4 @@
|
|||||||
self.__precacheManifest = [].concat(self.__precacheManifest || []);
|
self.__precacheManifest = [].concat(self.__precacheManifest || []);
|
||||||
workbox.precaching.precacheAndRoute(self.__precacheManifest, {});
|
|
||||||
|
|
||||||
// install new service worker when ok, then reload page.
|
// install new service worker when ok, then reload page.
|
||||||
self.addEventListener("message", msg=>{
|
self.addEventListener("message", msg=>{
|
||||||
|
@ -1,15 +1,11 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
publicPath: "./",
|
publicPath: "./",
|
||||||
pwa: {
|
pwa: {
|
||||||
name: 'PewPew!',
|
name: 'Bang!',
|
||||||
appleMobileWebAppCache: "yes",
|
appleMobileWebAppCache: "yes",
|
||||||
manifestOptions: {
|
manifestOptions: {
|
||||||
display: 'standalone',
|
display: 'standalone',
|
||||||
},
|
},
|
||||||
workboxPluginMode: 'InjectManifest',
|
|
||||||
workboxOptions: {
|
|
||||||
swSrc: 'src/service-worker.js'
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
configureWebpack: {
|
configureWebpack: {
|
||||||
output: {
|
output: {
|
||||||
|
Loading…
Reference in New Issue
Block a user