Skip to content

Commit f2c3175

Browse files
Add maximumFileSizeToCacheInBytes to PWA config
1 parent 72146a4 commit f2c3175

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ export default defineConfig(async ({ mode }): Promise<UserConfig> => {
7474
},
7575
workbox: {
7676
globPatterns: ["**/*.{js,css,html,ico,png,svg,gif,hex}"],
77+
maximumFileSizeToCacheInBytes: 3780000,
7778
},
7879
manifest: {
7980
name: "micro:bit CreateAI",

0 commit comments

Comments
 (0)