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
Created a NextJS app and used the following setting:
import{defaultCache}from"@serwist/next/browser";import{installSerwist}from"@serwist/sw";importtype{PrecacheEntry}from"@serwist/precaching";declareconstself: ServiceWorkerGlobalScope&{// Change this attribute's name to your `injectionPoint`.__SW_MANIFEST: (PrecacheEntry|string)[]|undefined;};// Anything random.constrevision=crypto.randomUUID();installSerwist({precacheEntries: self.__SW_MANIFEST,skipWaiting: true,clientsClaim: true,navigationPreload: true,runtimeCaching: defaultCache,disableDevLogs: true,fallbacks: {entries: [{url: "/~offline",
revision,matcher({ request }){// Or whatever else you want to check for in a request.returnrequest.destination==="document";},},],},});
Describe the bug
Although disableDevLogs is set to true, on production, the app spams console logs with serwist info
Provide environment information
NextJS 14.1
Which project is this issue for?
@serwist/next
Link to reproduction - Issues with a link to complete (but minimal) reproduction code help us address them faster
https://lostark.party/
To reproduce
Created a NextJS app and used the following setting:
Describe the bug
Although
disableDevLogs
is set to true, on production, the app spams console logs with serwist infoExpected behavior
To not have any logs on production
Screenshots (if relevant)
Additional information (if relevant)
Can be viewed on: https://lostark.party
The text was updated successfully, but these errors were encountered: