webpack: increase workbox cache size
Signed-off-by: Varun Patil <radialapps@gmail.com>pull/689/merge
parent
27b252ce9c
commit
1bf9022756
|
@ -117,6 +117,7 @@ module.exports = {
|
||||||
new WorkboxPlugin.InjectManifest({
|
new WorkboxPlugin.InjectManifest({
|
||||||
swSrc: path.resolve(path.join('src', 'service-worker.js')),
|
swSrc: path.resolve(path.join('src', 'service-worker.js')),
|
||||||
swDest: 'memories-service-worker.js',
|
swDest: 'memories-service-worker.js',
|
||||||
|
maximumFileSizeToCacheInBytes: (isDev ? 10 : 4) * 1024 * 1024,
|
||||||
}),
|
}),
|
||||||
|
|
||||||
// Make appName & appVersion available as a constant
|
// Make appName & appVersion available as a constant
|
||||||
|
|
Loading…
Reference in New Issue