Skip to content

Commit d7b30a3

Browse files
committed
tweak:higher precache filesize tolerance
1 parent 76b899f commit d7b30a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sw-build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const buildSW = () => {
1212
globDirectory: path.join(process.cwd(), 'build'),
1313
globPatterns: ['**/*.{js,html,css,png,svg}'],
1414
globIgnores: ['**/*service-worker*.js', '**/*precache-manifest*.js'],
15-
maximumFileSizeToCacheInBytes: 50 * 1024 * 102,
15+
maximumFileSizeToCacheInBytes: 10 * 1024 * 1024, // 10 MB
1616
})
1717
.then(({ count, size, warnings }) => {
1818
warnings.forEach(console.warn);

0 commit comments

Comments
 (0)