fen's avatar
Level 2

maximumFileSizeToCacheInBytes - solved

Hello all,

I just got a message after running npm run produciton:

js/app.js is 2.57 MB, and won't be precached. Configure maximumFileSizeToCacheInBytes to change this limit.

How to configure this?

Thank you in advance!!

Solved:

in workbox.config.js add "maximumFileSizeToCacheInBytes": 5000000,

0 likes
0 replies

Please or to participate in this conversation.