Skip to content

Commit

Permalink
set maximumFileSizeToCacheInBytes
Browse files Browse the repository at this point in the history
  • Loading branch information
poulch committed Jul 30, 2024
1 parent 9725a31 commit f2c2c09
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,12 @@ export default defineConfig(({ command, mode }) => {
copyOgImage(),
VitePWA({
registerType: "prompt",
injectRegister: false,
workbox: {
globPatterns: ["**/*.{js,css,html,svg,png,ico}"],
cleanupOutdatedCaches: true,
clientsClaim: true,
maximumFileSizeToCacheInBytes: 12000000,
},

devOptions: {
enabled: false,
navigateFallback: "index.html",
Expand Down

0 comments on commit f2c2c09

Please sign in to comment.