Cambiado el funcionamiento de Workbox para permitir notificaciones push.
This commit is contained in:
parent
99318491ac
commit
be6f5a868b
@ -23,8 +23,9 @@ module.exports = {
|
|||||||
css: undefined,
|
css: undefined,
|
||||||
|
|
||||||
pwa: {
|
pwa: {
|
||||||
|
workboxPluginMode: "InjectManifest",
|
||||||
workboxOptions: {
|
workboxOptions: {
|
||||||
skipWaiting: true
|
swSrc: __dirname + "/public/service-worker.js"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user