fix: build error -> workbox max file size limit
This commit is contained in:
parent
892a686462
commit
d54022a65a
1 changed files with 1 additions and 0 deletions
|
|
@ -67,6 +67,7 @@ export default defineConfig({
|
|||
registerType: 'autoUpdate',
|
||||
injectRegister: 'auto',
|
||||
workbox: {
|
||||
maximumFileSizeToCacheInBytes: 4194304, // 4MB
|
||||
globPatterns: ['**/*.{js,css,html,ico,png,svg,json,wav,mp3,ogg,ttf,woff2,TTF,otf}'],
|
||||
runtimeCaching: [
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue