Skip to content

Commit 8332173

Browse files
committed
Increase maximumFileSizeToCacheInBytes to 5MB.
1 parent 9eca4dc commit 8332173

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

next.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ const getNextConfig = async (phase) => {
6161

6262
if (phase === PHASE_PRODUCTION_BUILD) {
6363
const withSerwist = (await import("@serwist/next")).default({
64+
maximumFileSizeToCacheInBytes: 5000000,
6465
swSrc: "sw.ts",
6566
swDest: "public/sw.js",
6667
reloadOnOnline: true,

0 commit comments

Comments
 (0)