diff --git a/flow-server/src/main/resources/com/vaadin/flow/server/frontend/sw.ts b/flow-server/src/main/resources/com/vaadin/flow/server/frontend/sw.ts index e51c0f57df4..61f1da8c01f 100644 --- a/flow-server/src/main/resources/com/vaadin/flow/server/frontend/sw.ts +++ b/flow-server/src/main/resources/com/vaadin/flow/server/frontend/sw.ts @@ -1,5 +1,7 @@ /// +self.__WB_DISABLE_DEV_LOGS = true; + importScripts('sw-runtime-resources-precache.js'); import { clientsClaim, cacheNames, WorkboxPlugin } from 'workbox-core'; import { matchPrecache, precacheAndRoute, getCacheKeyForURL } from 'workbox-precaching'; @@ -9,6 +11,7 @@ import { NetworkOnly, NetworkFirst } from 'workbox-strategies'; declare var self: ServiceWorkerGlobalScope & { __WB_MANIFEST: Array; + __WB_DISABLE_DEV_LOGS: boolean; additionalManifestEntries?: Array; };