1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-06-16 12:39:02 +02:00

incrasemax file size for swcache

This commit is contained in:
Kushagra Gour
2018-01-14 00:39:03 +05:30
parent 16faa26e40
commit 758eb9591a

View File

@ -65,7 +65,10 @@ gulp.task('generate-service-worker', ['minify'], function(callback) {
staticFileGlobs: [
rootDir + '/**/*.{js,html,css,png,jpg,gif,svg,eot,ttf,woff}'
],
stripPrefix: `${rootDir}/`
stripPrefix: `${rootDir}/`,
// has to be increased to around 2.8mb for sass.worker.js
maximumFileSizeToCacheInBytes: 2900000
},
callback
);