From 758eb9591a880f89db6ccd2ae07ebf86a8d9841e Mon Sep 17 00:00:00 2001 From: Kushagra Gour <chinchang457@gmail.com> Date: Sun, 14 Jan 2018 00:39:03 +0530 Subject: [PATCH] incrasemax file size for swcache --- gulpfile.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gulpfile.js b/gulpfile.js index b504ef5..b50c67a 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -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 );