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:
@ -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
|
||||
);
|
||||
|
Reference in New Issue
Block a user