mirror of
https://github.com/dergigi/boris.git
synced 2026-02-04 14:44:26 +01:00
fix: increase PWA cache limit to 3 MiB for larger bundles
This commit is contained in:
@@ -123,7 +123,8 @@ export default defineConfig({
|
||||
},
|
||||
injectManifest: {
|
||||
globPatterns: ['**/*.{js,css,html,ico,png,svg,webp}'],
|
||||
globIgnores: ['**/_headers', '**/_redirects', '**/robots.txt']
|
||||
globIgnores: ['**/_headers', '**/_redirects', '**/robots.txt'],
|
||||
maximumFileSizeToCacheInBytes: 3 * 1024 * 1024 // 3 MiB
|
||||
},
|
||||
devOptions: {
|
||||
enabled: true,
|
||||
|
||||
Reference in New Issue
Block a user