mirror of
https://github.com/chinchang/web-maker.git
synced 2025-06-18 13:39:08 +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: [
|
staticFileGlobs: [
|
||||||
rootDir + '/**/*.{js,html,css,png,jpg,gif,svg,eot,ttf,woff}'
|
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
|
callback
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user