Disable workbox logging because it's too verbose
This commit is contained in:
parent
89cb909094
commit
fee37f9880
|
@ -3,6 +3,8 @@ import { ExpirationPlugin } from 'workbox-expiration';
|
||||||
import { RegExpRoute, registerRoute, Route } from 'workbox-routing';
|
import { RegExpRoute, registerRoute, Route } from 'workbox-routing';
|
||||||
import { CacheFirst, StaleWhileRevalidate } from 'workbox-strategies';
|
import { CacheFirst, StaleWhileRevalidate } from 'workbox-strategies';
|
||||||
|
|
||||||
|
self.__WB_DISABLE_DEV_LOGS = true;
|
||||||
|
|
||||||
const imageRoute = new Route(
|
const imageRoute = new Route(
|
||||||
({ request, sameOrigin }) => {
|
({ request, sameOrigin }) => {
|
||||||
const isRemote = !sameOrigin;
|
const isRemote = !sameOrigin;
|
||||||
|
|
Loading…
Reference in a new issue