Open irpena opened 6 years ago
I'm not sure if I properly understand @irpena, sw-precache is skipping your main.css
file because it's too big and that's your problem? If I'm right, then you can change max size for files by maximumFileSizeToCacheInBytes
param (in console probably it's maximum-file-size-to-cache-in-bytes
).
Hi
The Gulp script is working correctly for me, except for a main.css file.
The project is generated with IONIC 3
sw-precache --root=www --static-file-globs='www/build/main.css'
Skipping static resource "www/build/main.css" (2.3 MB) - max size is 2.1 MB Total precache size is about 0 B for 0 resources. www/service-worker.js has been generated with the service worker contents.Thanks