1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-08-03 20:07:35 +02:00

remove useless virtual-file-sw file.

This commit is contained in:
Kushagra Gour
2019-02-28 19:57:44 +05:30
parent c7f5890225
commit 1103950696

View File

@@ -56,7 +56,6 @@ gulp.task('copyFiles', function() {
'src/detached-window.js', 'src/detached-window.js',
'src/icon-48.png', 'src/icon-48.png',
'src/icon-128.png', 'src/icon-128.png',
'src/virtual-file-service-worker.js',
'manifest.json' 'manifest.json'
]) ])
.pipe(gulp.dest('app')), .pipe(gulp.dest('app')),
@@ -168,9 +167,7 @@ gulp.task('generate-service-worker', function(callback) {
stripPrefix: `${rootDir}/`, stripPrefix: `${rootDir}/`,
// has to be increased to around 2.8mb for sass.worker.js // has to be increased to around 2.8mb for sass.worker.js
maximumFileSizeToCacheInBytes: 2900000, maximumFileSizeToCacheInBytes: 2900000
importScripts: ['virtual-file-service-worker.js']
}, },
callback callback
); );