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 );